comparison data/fileio/CodedAudioFileReader.h @ 1041:843f67be0ed9 cxx11

Replace the get*Frames calls in AudioFileReader with less stupid API
author Chris Cannam
date Wed, 04 Mar 2015 12:30:41 +0000
parents a1cd5abcb38b
children 4d9816ba0ebe
comparison
equal deleted inserted replaced
1040:a1cd5abcb38b 1041:843f67be0ed9
36 enum CacheMode { 36 enum CacheMode {
37 CacheInTemporaryFile, 37 CacheInTemporaryFile,
38 CacheInMemory 38 CacheInMemory
39 }; 39 };
40 40
41 virtual void getInterleavedFrames(sv_frame_t start, sv_frame_t count, 41 virtual SampleBlock getInterleavedFrames(sv_frame_t start, sv_frame_t count) const;
42 SampleBlock &frames) const;
43 42
44 virtual sv_samplerate_t getNativeRate() const { return m_fileRate; } 43 virtual sv_samplerate_t getNativeRate() const { return m_fileRate; }
45 44
46 virtual QString getLocalFilename() const { return m_cacheFileName; } 45 virtual QString getLocalFilename() const { return m_cacheFileName; }
47 46