Mercurial > hg > svcore
comparison data/fileio/CoreAudioFileReader.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 | 9c7633904ec2 |
comparison
equal
deleted
inserted
replaced
1039:b14064bd1f97 | 1040:a1cd5abcb38b |
---|---|
57 } | 57 } |
58 | 58 |
59 CoreAudioFileReader::CoreAudioFileReader(FileSource source, | 59 CoreAudioFileReader::CoreAudioFileReader(FileSource source, |
60 DecodeMode decodeMode, | 60 DecodeMode decodeMode, |
61 CacheMode mode, | 61 CacheMode mode, |
62 int targetRate, | 62 sv_samplerate_t targetRate, |
63 bool normalised, | 63 bool normalised, |
64 ProgressReporter *reporter) : | 64 ProgressReporter *reporter) : |
65 CodedAudioFileReader(mode, targetRate, normalised), | 65 CodedAudioFileReader(mode, targetRate, normalised), |
66 m_source(source), | 66 m_source(source), |
67 m_path(source.getLocalFilename()), | 67 m_path(source.getLocalFilename()), |