Mercurial > hg > svcore
diff data/fileio/CodedAudioFileReader.cpp @ 386:e6d11871e4c9
* Fix bug that was causing decoded audio files (mp3s, oggs) to come up some of
the time with zero sample rate
author | Chris Cannam |
---|---|
date | Sat, 01 Mar 2008 16:17:44 +0000 |
parents | f1ff248a793e |
children | be49bf95d4a5 |
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.cpp Wed Feb 27 18:04:10 2008 +0000 +++ b/data/fileio/CodedAudioFileReader.cpp Sat Mar 01 16:17:44 2008 +0000 @@ -98,6 +98,7 @@ } if (m_sampleRate == 0) { m_sampleRate = m_fileRate; + std::cerr << "CodedAudioFileReader::initialiseDecodeCache: rate (from file) = " << m_fileRate << std::endl; } if (m_fileRate != m_sampleRate) { std::cerr << "CodedAudioFileReader: resampling " << m_fileRate << " -> " << m_sampleRate << std::endl;