comparison data/fileio/BQAFileReader.cpp @ 1584:ff18abb88563 bqaudiostream

Fix some warnings
author Chris Cannam
date Thu, 06 Dec 2018 13:37:00 +0000
parents c8fad3c14a2b
children b67f5b6a7978
comparison
equal deleted inserted replaced
1583:c8fad3c14a2b 1584:ff18abb88563
56 m_error = e.what(); 56 m_error = e.what();
57 m_stream = 0; 57 m_stream = 0;
58 return; 58 return;
59 } 59 }
60 60
61 m_channelCount = m_stream->getChannelCount(); 61 m_channelCount = int(m_stream->getChannelCount());
62 m_fileRate = m_stream->getSampleRate(); 62 m_fileRate = sv_samplerate_t(m_stream->getSampleRate());
63 63
64 initialiseDecodeCache(); 64 initialiseDecodeCache();
65 65
66 if (decodeMode == DecodeAtOnce) { 66 if (decodeMode == DecodeAtOnce) {
67 67
183 getSupportedExtensions(extensions); 183 getSupportedExtensions(extensions);
184 return (extensions.find(extension.toLower()) != extensions.end()); 184 return (extensions.find(extension.toLower()) != extensions.end());
185 } 185 }
186 186
187 bool 187 bool
188 BQAFileReader::supportsContentType(QString type) 188 BQAFileReader::supportsContentType(QString)
189 { 189 {
190 //!!! todo 190 //!!! todo
191 return false; 191 return false;
192 } 192 }
193 193