comparison layer/WaveformLayer.cpp @ 71:72fa239a4880

* Modify to use Vamp SDK for proper feature extraction plugins. Requires that the vamp-plugin-sdk directory tree be present below plugin/ (it's separate in Subversion).
author Chris Cannam
date Fri, 31 Mar 2006 15:56:35 +0000
parents 6dad2724f3aa
children 45ba0b381c5d
comparison
equal deleted inserted replaced
70:bf306158803d 71:72fa239a4880
598 598
599 ranges = m_model->getRanges 599 ranges = m_model->getRanges
600 (ch, frame0 < 0 ? 0 : frame0, frame1, modelZoomLevel); 600 (ch, frame0 < 0 ? 0 : frame0, frame1, modelZoomLevel);
601 601
602 if (mergingChannels || mixingChannels) { 602 if (mergingChannels || mixingChannels) {
603 otherChannelRanges = m_model->getRanges 603 if (m_model->getChannelCount() > 1) {
604 (1, frame0 < 0 ? 0 : frame0, frame1, modelZoomLevel); 604 otherChannelRanges = m_model->getRanges
605 (1, frame0 < 0 ? 0 : frame0, frame1, modelZoomLevel);
606 } else {
607 otherChannelRanges = ranges;
608 }
605 } 609 }
606 610
607 for (int x = x0; x <= x1; ++x) { 611 for (int x = x0; x <= x1; ++x) {
608 612
609 range = RangeSummarisableTimeValueModel::Range(); 613 range = RangeSummarisableTimeValueModel::Range();