Mercurial > hg > svcore
changeset 755:dc6c0e50724c 2.0.1_osx
Fix mixup between file rate and sample rate
author | Chris Cannam |
---|---|
date | Thu, 07 Mar 2013 17:18:08 +0000 |
parents | 26636c46bcdf |
children | 02390a4c2abe |
files | data/fileio/CoreAudioFileReader.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/CoreAudioFileReader.cpp Thu Mar 07 17:17:58 2013 +0000 +++ b/data/fileio/CoreAudioFileReader.cpp Thu Mar 07 17:18:08 2013 +0000 @@ -118,7 +118,7 @@ } m_channelCount = m_d->asbd.mChannelsPerFrame; - m_sampleRate = m_d->asbd.mSampleRate; + m_fileRate = m_d->asbd.mSampleRate; std::cerr << "CoreAudioReadStream: " << m_channelCount << " channels, " << m_sampleRate << " Hz" << std::endl;