diff data/fileio/CodedAudioFileReader.h @ 933:d03b3d956358 warnfix_no_size_t

Merge from branch tony_integration
author Chris Cannam
date Wed, 18 Jun 2014 08:34:46 +0100
parents 59e7fe1b1003 f3cda3280398
children 36f79bc5c3d7
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.h	Tue Jun 17 16:42:51 2014 +0100
+++ b/data/fileio/CodedAudioFileReader.h	Wed Jun 18 08:34:46 2014 +0100
@@ -50,7 +50,9 @@
     void progress(int);
 
 protected:
-    CodedAudioFileReader(CacheMode cacheMode, int targetRate);
+    CodedAudioFileReader(CacheMode cacheMode, 
+                         int targetRate,
+                         bool normalised);
 
     void initialiseDecodeCache(); // samplerate, channels must have been set
 
@@ -91,6 +93,10 @@
     Resampler *m_resampler;
     float *m_resampleBuffer;
     int m_fileFrameCount;
+
+    bool m_normalised;
+    float m_max;
+    float m_gain;
 };
 
 #endif