removed references to midi controls from VST plugin support
git-svn-id: svn://localhost/ardour2/trunk@677 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c5fbb8234b
commit
e7efb38fc5
@ -41,8 +41,6 @@
|
|||||||
|
|
||||||
#include <vst/aeffectx.h>
|
#include <vst/aeffectx.h>
|
||||||
|
|
||||||
#include <midi++/manager.h>
|
|
||||||
|
|
||||||
#include <ardour/ardour.h>
|
#include <ardour/ardour.h>
|
||||||
#include <ardour/session.h>
|
#include <ardour/session.h>
|
||||||
#include <ardour/audioengine.h>
|
#include <ardour/audioengine.h>
|
||||||
@ -81,7 +79,7 @@ VSTPlugin::VSTPlugin (AudioEngine& e, Session& session, FSTHandle* h)
|
|||||||
|
|
||||||
_plugin->dispatcher (_plugin, effSetProgram, 0, 0, NULL, 0.0f);
|
_plugin->dispatcher (_plugin, effSetProgram, 0, 0, NULL, 0.0f);
|
||||||
|
|
||||||
Plugin::setup_midi_controls ();
|
Plugin::setup_controls ();
|
||||||
}
|
}
|
||||||
|
|
||||||
VSTPlugin::VSTPlugin (const VSTPlugin &other)
|
VSTPlugin::VSTPlugin (const VSTPlugin &other)
|
||||||
@ -94,7 +92,7 @@ VSTPlugin::VSTPlugin (const VSTPlugin &other)
|
|||||||
}
|
}
|
||||||
_plugin = _fst->plugin;
|
_plugin = _fst->plugin;
|
||||||
|
|
||||||
Plugin::setup_midi_controls ();
|
Plugin::setup_controls ();
|
||||||
}
|
}
|
||||||
|
|
||||||
VSTPlugin::~VSTPlugin ()
|
VSTPlugin::~VSTPlugin ()
|
||||||
@ -133,13 +131,6 @@ VSTPlugin::set_parameter (uint32_t which, float val)
|
|||||||
{
|
{
|
||||||
_plugin->setParameter (_plugin, which, val);
|
_plugin->setParameter (_plugin, which, val);
|
||||||
ParameterChanged (which, val); /* EMIT SIGNAL */
|
ParameterChanged (which, val); /* EMIT SIGNAL */
|
||||||
|
|
||||||
if (session().get_midi_feedback()) {
|
|
||||||
|
|
||||||
if (which < parameter_count() && midi_controls[which]) {
|
|
||||||
midi_controls[which]->send_feedback (val);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
float
|
float
|
||||||
|
Loading…
Reference in New Issue
Block a user