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

Introduce and use a samplerate type
author Chris Cannam
date Wed, 04 Mar 2015 12:01:04 +0000
parents 1ecd533a9977
children fe39581d249b
comparison
equal deleted inserted replaced
1039:b14064bd1f97 1040:a1cd5abcb38b
32 //static int instances = 0; 32 //static int instances = 0;
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 int targetRate, 37 sv_samplerate_t targetRate,
38 bool normalised, 38 bool normalised,
39 ProgressReporter *reporter) : 39 ProgressReporter *reporter) :
40 CodedAudioFileReader(mode, targetRate, normalised), 40 CodedAudioFileReader(mode, targetRate, normalised),
41 m_source(source), 41 m_source(source),
42 m_path(source.getLocalFilename()), 42 m_path(source.getLocalFilename()),