Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.cpp @ 1354:97deefd38060 3.0-integration
Further win32 build updates
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2017 13:51:39 +0000 |
parents | 5b04b8bc88ca |
children | 1c9bbbb6116a |
comparison
equal
deleted
inserted
replaced
1353:2001fe23e449 | 1354:97deefd38060 |
---|---|
134 throw std::logic_error("No channel count set"); | 134 throw std::logic_error("No channel count set"); |
135 } | 135 } |
136 | 136 |
137 if (m_fileRate == 0) { | 137 if (m_fileRate == 0) { |
138 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: ERROR: File sample rate unknown (bug in subclass implementation?)" << endl; | 138 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: ERROR: File sample rate unknown (bug in subclass implementation?)" << endl; |
139 throw FileOperationFailed("(coded file)", "File sample rate unknown (bug in subclass implementation?)"); | 139 throw FileOperationFailed("(coded file)", "sample rate unknown (bug in subclass implementation?)"); |
140 } | 140 } |
141 if (m_sampleRate == 0) { | 141 if (m_sampleRate == 0) { |
142 m_sampleRate = m_fileRate; | 142 m_sampleRate = m_fileRate; |
143 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: rate (from file) = " << m_fileRate << endl; | 143 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: rate (from file) = " << m_fileRate << endl; |
144 } | 144 } |