diff plugin/LADSPAPluginInstance.h @ 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 7afcfe666910
line wrap: on
line diff
--- a/plugin/LADSPAPluginInstance.h	Fri Mar 24 18:15:50 2006 +0000
+++ b/plugin/LADSPAPluginInstance.h	Mon Mar 27 15:03:02 2006 +0000
@@ -66,6 +66,9 @@
     virtual sample_t **getAudioInputBuffers() { return m_inputBuffers; }
     virtual sample_t **getAudioOutputBuffers() { return m_outputBuffers; }
 
+    virtual size_t getControlOutputCount() const { return m_controlPortsOut.size(); }
+    virtual float getControlOutputValue(size_t n) const;
+
     virtual bool isBypassed() const { return m_bypassed; }
     virtual void setBypassed(bool bypassed) { m_bypassed = bypassed; }