comparison data/fileio/DecodingWavFileReader.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 843f67be0ed9
comparison
equal deleted inserted replaced
1039:b14064bd1f97 1040:a1cd5abcb38b
22 #include <QFileInfo> 22 #include <QFileInfo>
23 23
24 DecodingWavFileReader::DecodingWavFileReader(FileSource source, 24 DecodingWavFileReader::DecodingWavFileReader(FileSource source,
25 ResampleMode resampleMode, 25 ResampleMode resampleMode,
26 CacheMode mode, 26 CacheMode mode,
27 int targetRate, 27 sv_samplerate_t targetRate,
28 bool normalised, 28 bool normalised,
29 ProgressReporter *reporter) : 29 ProgressReporter *reporter) :
30 CodedAudioFileReader(mode, targetRate, normalised), 30 CodedAudioFileReader(mode, targetRate, normalised),
31 m_source(source), 31 m_source(source),
32 m_path(source.getLocalFilename()), 32 m_path(source.getLocalFilename()),