Mercurial > hg > svcore
comparison data/fileio/OggVorbisFileReader.cpp @ 920:f3cda3280398 tonioni
Add normalised option to CodedAudioFileReader
author | Chris Cannam |
---|---|
date | Fri, 13 Jun 2014 16:03:48 +0100 |
parents | a299c4cec0f8 |
children | d03b3d956358 |
comparison
equal
deleted
inserted
replaced
919:4c7b4040bd2d | 920:f3cda3280398 |
---|---|
33 | 33 |
34 OggVorbisFileReader::OggVorbisFileReader(FileSource source, | 34 OggVorbisFileReader::OggVorbisFileReader(FileSource source, |
35 DecodeMode decodeMode, | 35 DecodeMode decodeMode, |
36 CacheMode mode, | 36 CacheMode mode, |
37 size_t targetRate, | 37 size_t targetRate, |
38 bool normalised, | |
38 ProgressReporter *reporter) : | 39 ProgressReporter *reporter) : |
39 CodedAudioFileReader(mode, targetRate), | 40 CodedAudioFileReader(mode, targetRate, normalised), |
40 m_source(source), | 41 m_source(source), |
41 m_path(source.getLocalFilename()), | 42 m_path(source.getLocalFilename()), |
42 m_reporter(reporter), | 43 m_reporter(reporter), |
43 m_fileSize(0), | 44 m_fileSize(0), |
44 m_bytesRead(0), | 45 m_bytesRead(0), |