comparison 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
comparison
equal deleted inserted replaced
1319:12a1da4719c7 1320:983667969a82
103 103
104 QString m_cacheFileName; 104 QString m_cacheFileName;
105 SNDFILE *m_cacheFileWritePtr; 105 SNDFILE *m_cacheFileWritePtr;
106 WavFileReader *m_cacheFileReader; 106 WavFileReader *m_cacheFileReader;
107 float *m_cacheWriteBuffer; 107 float *m_cacheWriteBuffer;
108 sv_frame_t m_cacheWriteBufferIndex; // samples 108 sv_frame_t m_cacheWriteBufferIndex; // buffer write pointer in samples
109 sv_frame_t m_cacheWriteBufferSize; // frames 109 sv_frame_t m_cacheWriteBufferFrames; // buffer size in frames
110 110
111 breakfastquay::Resampler *m_resampler; 111 breakfastquay::Resampler *m_resampler;
112 float *m_resampleBuffer; 112 float *m_resampleBuffer;
113 int m_resampleBufferFrames;
113 sv_frame_t m_fileFrameCount; 114 sv_frame_t m_fileFrameCount;
114 115
115 bool m_normalised; 116 bool m_normalised;
116 float m_max; 117 float m_max;
117 float m_gain; 118 float m_gain;