Mercurial > hg > sonic-annotator
comparison 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 |
comparison
equal
deleted
inserted
replaced
45:69c438d4b9d3 | 46:4d07f61dba3f |
---|---|
649 | 649 |
650 // m_channels is the number of channels we need for the plugin | 650 // m_channels is the number of channels we need for the plugin |
651 | 651 |
652 int index; | 652 int index; |
653 int fc = (int)frames.size(); | 653 int fc = (int)frames.size(); |
654 | |
654 if (m_channels == 1) { // only case in which we can sensibly mix down | 655 if (m_channels == 1) { // only case in which we can sensibly mix down |
655 for (int j = 0; j < m_blockSize; ++j) { | 656 for (int j = 0; j < m_blockSize; ++j) { |
656 data[0][j] = 0.f; | 657 data[0][j] = 0.f; |
657 } | 658 } |
658 for (int c = 0; c < rc; ++c) { | 659 for (int c = 0; c < rc; ++c) { |