Mercurial > hg > sonic-annotator
diff runner/FeatureExtractionManager.cpp @ 46:4d07f61dba3f
* Add -v option to print version
author | Chris Cannam |
---|---|
date | Mon, 18 Oct 2010 14:19:11 +0100 |
parents | 69c438d4b9d3 |
children | 91d20795a109 |
line wrap: on
line diff
--- a/runner/FeatureExtractionManager.cpp Mon Oct 18 14:17:48 2010 +0100 +++ b/runner/FeatureExtractionManager.cpp Mon Oct 18 14:19:11 2010 +0100 @@ -651,6 +651,7 @@ int index; int fc = (int)frames.size(); + if (m_channels == 1) { // only case in which we can sensibly mix down for (int j = 0; j < m_blockSize; ++j) { data[0][j] = 0.f;