changeset 1584:ff18abb88563 bqaudiostream

Fix some warnings
author Chris Cannam
date Thu, 06 Dec 2018 13:37:00 +0000
parents c8fad3c14a2b
children b67f5b6a7978 99afceeb1a45
files data/fileio/BQAFileReader.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/fileio/BQAFileReader.cpp	Thu Dec 06 12:50:28 2018 +0000
+++ b/data/fileio/BQAFileReader.cpp	Thu Dec 06 13:37:00 2018 +0000
@@ -58,8 +58,8 @@
 	return;
     }
 
-    m_channelCount = m_stream->getChannelCount();
-    m_fileRate = m_stream->getSampleRate();
+    m_channelCount = int(m_stream->getChannelCount());
+    m_fileRate = sv_samplerate_t(m_stream->getSampleRate());
 
     initialiseDecodeCache();
 
@@ -185,7 +185,7 @@
 }
 
 bool
-BQAFileReader::supportsContentType(QString type)
+BQAFileReader::supportsContentType(QString)
 {
 //!!! todo
     return false;