Mercurial > hg > svcore
diff data/fileio/CodedAudioFileReader.h @ 1320:983667969a82 3.0-integration
Update to reflect bqresample API change
author | Chris Cannam |
---|---|
date | Fri, 09 Dec 2016 10:24:40 +0000 |
parents | f830a10bfbd6 |
children | 54af1e21705c |
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.h Wed Dec 07 13:56:22 2016 +0000 +++ b/data/fileio/CodedAudioFileReader.h Fri Dec 09 10:24:40 2016 +0000 @@ -105,11 +105,12 @@ SNDFILE *m_cacheFileWritePtr; WavFileReader *m_cacheFileReader; float *m_cacheWriteBuffer; - sv_frame_t m_cacheWriteBufferIndex; // samples - sv_frame_t m_cacheWriteBufferSize; // frames + sv_frame_t m_cacheWriteBufferIndex; // buffer write pointer in samples + sv_frame_t m_cacheWriteBufferFrames; // buffer size in frames breakfastquay::Resampler *m_resampler; float *m_resampleBuffer; + int m_resampleBufferFrames; sv_frame_t m_fileFrameCount; bool m_normalised;