comparison 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
comparison
equal deleted inserted replaced
1096:4d9816ba0ebe 1097:abc309f507ae
34 virtual ~CodedAudioFileReader(); 34 virtual ~CodedAudioFileReader();
35 35
36 enum CacheMode { 36 enum CacheMode {
37 CacheInTemporaryFile, 37 CacheInTemporaryFile,
38 CacheInMemory 38 CacheInMemory
39 };
40
41 enum DecodeMode {
42 DecodeAtOnce, // decode the file on construction, with progress
43 DecodeThreaded // decode in a background thread after construction
39 }; 44 };
40 45
41 virtual std::vector<float> getInterleavedFrames(sv_frame_t start, sv_frame_t count) const; 46 virtual std::vector<float> getInterleavedFrames(sv_frame_t start, sv_frame_t count) const;
42 47
43 virtual sv_samplerate_t getNativeRate() const { return m_fileRate; } 48 virtual sv_samplerate_t getNativeRate() const { return m_fileRate; }