Mercurial > hg > svcore
diff data/fileio/DecodingWavFileReader.cpp @ 920:f3cda3280398 tonioni
Add normalised option to CodedAudioFileReader
author | Chris Cannam |
---|---|
date | Fri, 13 Jun 2014 16:03:48 +0100 |
parents | f0558e69a074 |
children | d03b3d956358 |
line wrap: on
line diff
--- a/data/fileio/DecodingWavFileReader.cpp Fri Jun 13 12:56:31 2014 +0100 +++ b/data/fileio/DecodingWavFileReader.cpp Fri Jun 13 16:03:48 2014 +0100 @@ -22,11 +22,12 @@ #include <QFileInfo> DecodingWavFileReader::DecodingWavFileReader(FileSource source, - ResampleMode resampleMode, - CacheMode mode, - size_t targetRate, - ProgressReporter *reporter) : - CodedAudioFileReader(mode, targetRate), + ResampleMode resampleMode, + CacheMode mode, + size_t targetRate, + bool normalised, + ProgressReporter *reporter) : + CodedAudioFileReader(mode, targetRate, normalised), m_source(source), m_path(source.getLocalFilename()), m_cancelled(false),