Mercurial > hg > svcore
diff data/fileio/BQAFileReader.cpp @ 1587:b67f5b6a7978 bqaudiostream
Request metadata from bq audio stream
author | Chris Cannam |
---|---|
date | Tue, 15 Jan 2019 16:43:23 +0000 |
parents | ff18abb88563 |
children | c9c8c49b22d6 |
line wrap: on
line diff
--- a/data/fileio/BQAFileReader.cpp Thu Dec 06 13:37:00 2018 +0000 +++ b/data/fileio/BQAFileReader.cpp Tue Jan 15 16:43:23 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()