diff 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
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.h	Wed Mar 04 12:01:04 2015 +0000
+++ b/data/fileio/CodedAudioFileReader.h	Wed Mar 04 12:30:41 2015 +0000
@@ -38,8 +38,7 @@
         CacheInMemory
     };
 
-    virtual void getInterleavedFrames(sv_frame_t start, sv_frame_t count,
-				      SampleBlock &frames) const;
+    virtual SampleBlock getInterleavedFrames(sv_frame_t start, sv_frame_t count) const;
 
     virtual sv_samplerate_t getNativeRate() const { return m_fileRate; }