diff data/fileio/BQAFileReader.cpp @ 1590:2f8ee436e858 bqaudiostream

Merge
author Chris Cannam
date Thu, 17 Jan 2019 17:30:09 +0000
parents b67f5b6a7978
children c9c8c49b22d6
line wrap: on
line diff
--- a/data/fileio/BQAFileReader.cpp	Thu Jan 17 17:29:48 2019 +0000
+++ b/data/fileio/BQAFileReader.cpp	Thu Jan 17 17:30:09 2019 +0000
@@ -60,6 +60,8 @@
 
     m_channelCount = int(m_stream->getChannelCount());
     m_fileRate = sv_samplerate_t(m_stream->getSampleRate());
+    m_title = QString::fromUtf8(m_stream->getTrackName().c_str());
+    m_maker = QString::fromUtf8(m_stream->getArtistName().c_str());
 
     initialiseDecodeCache();
 
@@ -107,8 +109,6 @@
         m_decodeThread = new DecodeThread(this);
         m_decodeThread->start();
     }
-
-//!!! todo metadata - maker, title, tags
 }
 
 BQAFileReader::~BQAFileReader()