Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.cpp @ 522:76f6971c8433
* Use FileFinder to find audio source referred to in an RDF document,
if it isn't where the document indicates
author | Chris Cannam |
---|---|
date | Fri, 12 Dec 2008 14:38:10 +0000 |
parents | d095214ffbaf |
children | 59dd6d1bcfb0 |
comparison
equal
deleted
inserted
replaced
521:5ebcf099dab0 | 522:76f6971c8433 |
---|---|
88 void | 88 void |
89 CodedAudioFileReader::initialiseDecodeCache() | 89 CodedAudioFileReader::initialiseDecodeCache() |
90 { | 90 { |
91 QMutexLocker locker(&m_cacheMutex); | 91 QMutexLocker locker(&m_cacheMutex); |
92 | 92 |
93 std::cerr << "CodedAudioFileReader::initialiseDecodeCache: file rate = " << m_fileRate << std::endl; | 93 // std::cerr << "CodedAudioFileReader::initialiseDecodeCache: file rate = " << m_fileRate << std::endl; |
94 | 94 |
95 if (m_fileRate == 0) { | 95 if (m_fileRate == 0) { |
96 std::cerr << "CodedAudioFileReader::initialiseDecodeCache: ERROR: File sample rate unknown (bug in subclass implementation?)" << std::endl; | 96 std::cerr << "CodedAudioFileReader::initialiseDecodeCache: ERROR: File sample rate unknown (bug in subclass implementation?)" << std::endl; |
97 m_fileRate = 48000; // got to have something | 97 m_fileRate = 48000; // got to have something |
98 } | 98 } |