Mercurial > hg > svcore
comparison data/fileio/QuickTimeFileReader.cpp @ 1040:a1cd5abcb38b cxx11
Introduce and use a samplerate type
author | Chris Cannam |
---|---|
date | Wed, 04 Mar 2015 12:01:04 +0000 |
parents | d03b3d956358 |
children | 0a9193dc136b |
comparison
equal
deleted
inserted
replaced
1039:b14064bd1f97 | 1040:a1cd5abcb38b |
---|---|
48 | 48 |
49 | 49 |
50 QuickTimeFileReader::QuickTimeFileReader(FileSource source, | 50 QuickTimeFileReader::QuickTimeFileReader(FileSource source, |
51 DecodeMode decodeMode, | 51 DecodeMode decodeMode, |
52 CacheMode mode, | 52 CacheMode mode, |
53 int targetRate, | 53 sv_samplerate_t targetRate, |
54 bool normalised, | 54 bool normalised, |
55 ProgressReporter *reporter) : | 55 ProgressReporter *reporter) : |
56 CodedAudioFileReader(mode, targetRate, normalised), | 56 CodedAudioFileReader(mode, targetRate, normalised), |
57 m_source(source), | 57 m_source(source), |
58 m_path(source.getLocalFilename()), | 58 m_path(source.getLocalFilename()), |