Mercurial > hg > sonic-annotator
diff runner/FeatureExtractionManager.cpp @ 107:7b60603966cf multiplex
Implementation of MultiplexedReader -- now builds, not yet tested
author | Chris Cannam |
---|---|
date | Thu, 02 Oct 2014 08:16:42 +0100 |
parents | de76b2df518f |
children | ca565b18ba3e |
line wrap: on
line diff
--- a/runner/FeatureExtractionManager.cpp Wed Oct 01 18:38:32 2014 +0100 +++ b/runner/FeatureExtractionManager.cpp Thu Oct 02 08:16:42 2014 +0100 @@ -587,6 +587,7 @@ AudioFileReader * FeatureExtractionManager::prepareReader(QString source) { + AudioFileReader *reader = 0; if (m_readyReaders.contains(source)) { reader = m_readyReaders[source]; m_readyReaders.remove(source); @@ -605,7 +606,7 @@ retrievalProgress.done(); } if (!reader) { - throw FailedToOpenFile(audioSource); + throw FailedToOpenFile(source); } return reader; }