comparison data/fileio/CoreAudioFileReader.cpp @ 920:f3cda3280398 tonioni

Add normalised option to CodedAudioFileReader
author Chris Cannam
date Fri, 13 Jun 2014 16:03:48 +0100
parents 2d53205f70cd
children d03b3d956358
comparison
equal deleted inserted replaced
919:4c7b4040bd2d 920:f3cda3280398
58 58
59 CoreAudioFileReader::CoreAudioFileReader(FileSource source, 59 CoreAudioFileReader::CoreAudioFileReader(FileSource source,
60 DecodeMode decodeMode, 60 DecodeMode decodeMode,
61 CacheMode mode, 61 CacheMode mode,
62 size_t targetRate, 62 size_t targetRate,
63 bool normalised,
63 ProgressReporter *reporter) : 64 ProgressReporter *reporter) :
64 CodedAudioFileReader(mode, targetRate), 65 CodedAudioFileReader(mode, targetRate, normalised),
65 m_source(source), 66 m_source(source),
66 m_path(source.getLocalFilename()), 67 m_path(source.getLocalFilename()),
67 m_d(new D), 68 m_d(new D),
68 m_reporter(reporter), 69 m_reporter(reporter),
69 m_cancelled(false), 70 m_cancelled(false),