comparison data/fileio/MP3FileReader.cpp @ 1040:a1cd5abcb38b cxx11

Introduce and use a samplerate type
author Chris Cannam
date Wed, 04 Mar 2015 12:01:04 +0000
parents cc27f35aa75c
children 52d088c24c5c
comparison
equal deleted inserted replaced
1039:b14064bd1f97 1040:a1cd5abcb38b
35 //#define DEBUG_ID3TAG 1 35 //#define DEBUG_ID3TAG 1
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, int targetRate, 40 CacheMode mode, sv_samplerate_t targetRate,
41 bool normalised, 41 bool normalised,
42 ProgressReporter *reporter) : 42 ProgressReporter *reporter) :
43 CodedAudioFileReader(mode, targetRate, normalised), 43 CodedAudioFileReader(mode, targetRate, normalised),
44 m_source(source), 44 m_source(source),
45 m_path(source.getLocalFilename()), 45 m_path(source.getLocalFilename()),