Mercurial > hg > svcore
diff data/fileio/CodedAudioFileReader.h @ 927:5f021c13a4cc tony_integration
Merge from branch "tonioni"
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 12:54:51 +0100 |
parents | f3cda3280398 |
children | d03b3d956358 |
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.h Tue Jun 17 12:52:27 2014 +0100 +++ b/data/fileio/CodedAudioFileReader.h Tue Jun 17 12:54:51 2014 +0100 @@ -50,7 +50,9 @@ void progress(int); protected: - CodedAudioFileReader(CacheMode cacheMode, size_t targetRate); + CodedAudioFileReader(CacheMode cacheMode, + size_t targetRate, + bool normalised); void initialiseDecodeCache(); // samplerate, channels must have been set @@ -91,6 +93,10 @@ Resampler *m_resampler; float *m_resampleBuffer; size_t m_fileFrameCount; + + bool m_normalised; + float m_max; + float m_gain; }; #endif