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

Add normalised option to CodedAudioFileReader
author Chris Cannam
date Fri, 13 Jun 2014 16:03:48 +0100
parents e802e550a1f2
children d03b3d956358
comparison
equal deleted inserted replaced
919:4c7b4040bd2d 920:f3cda3280398
36 36
37 #include <QFileInfo> 37 #include <QFileInfo>
38 38
39 MP3FileReader::MP3FileReader(FileSource source, DecodeMode decodeMode, 39 MP3FileReader::MP3FileReader(FileSource source, DecodeMode decodeMode,
40 CacheMode mode, size_t targetRate, 40 CacheMode mode, size_t targetRate,
41 bool normalised,
41 ProgressReporter *reporter) : 42 ProgressReporter *reporter) :
42 CodedAudioFileReader(mode, targetRate), 43 CodedAudioFileReader(mode, targetRate, normalised),
43 m_source(source), 44 m_source(source),
44 m_path(source.getLocalFilename()), 45 m_path(source.getLocalFilename()),
45 m_decodeThread(0) 46 m_decodeThread(0)
46 { 47 {
47 m_channelCount = 0; 48 m_channelCount = 0;