diff data/fileio/CodedAudioFileReader.h @ 1097:abc309f507ae simple-fft-model

Tidy
author Chris Cannam
date Mon, 15 Jun 2015 12:38:50 +0100
parents 4d9816ba0ebe
children 5cbf71022679
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.h	Mon Jun 15 12:19:47 2015 +0100
+++ b/data/fileio/CodedAudioFileReader.h	Mon Jun 15 12:38:50 2015 +0100
@@ -38,6 +38,11 @@
         CacheInMemory
     };
 
+    enum DecodeMode {
+        DecodeAtOnce, // decode the file on construction, with progress 
+        DecodeThreaded // decode in a background thread after construction
+    };
+
     virtual std::vector<float> getInterleavedFrames(sv_frame_t start, sv_frame_t count) const;
 
     virtual sv_samplerate_t getNativeRate() const { return m_fileRate; }