Mercurial > hg > svcore
comparison plugin/DSSIPluginInstance.cpp @ 60:3086ff194ea0
* More structural work on feature extraction plugin C <-> C++ adapter
* Allow use of LADSPA/DSSI plugins with control outputs as feature extraction
plugins (DSSI with MIDI output still to come)
* Reorder labels on spectrogram status box
* Minor tweaks in doc etc.
author | Chris Cannam |
---|---|
date | Mon, 27 Mar 2006 15:03:02 +0000 |
parents | 7439f1696314 |
children | 33285f426852 |
comparison
equal
deleted
inserted
replaced
59:9705a1978ecc | 60:3086ff194ea0 |
---|---|
771 } | 771 } |
772 } | 772 } |
773 } | 773 } |
774 | 774 |
775 float | 775 float |
776 DSSIPluginInstance::getControlOutputValue(unsigned int output) const | |
777 { | |
778 if (output > m_controlPortsOut.size()) return 0.0; | |
779 return (*m_controlPortsOut[output].second); | |
780 } | |
781 | |
782 float | |
776 DSSIPluginInstance::getParameterValue(unsigned int parameter) const | 783 DSSIPluginInstance::getParameterValue(unsigned int parameter) const |
777 { | 784 { |
778 #ifdef DEBUG_DSSI | 785 #ifdef DEBUG_DSSI |
779 std::cerr << "DSSIPluginInstance::getParameterValue(" << parameter << ")" << std::endl; | 786 std::cerr << "DSSIPluginInstance::getParameterValue(" << parameter << ")" << std::endl; |
780 #endif | 787 #endif |