mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 16:33:55 +02:00
Add stubs for IMidiMapping
This commit is contained in:
@@ -413,6 +413,16 @@ tresult PLUGIN_API Vst3PluginProxyImpl::openAboutBox(TBool onlyCheck) {
|
||||
.instance_id = instance_id(), .only_check = onlyCheck});
|
||||
}
|
||||
|
||||
tresult PLUGIN_API Vst3PluginProxyImpl::getMidiControllerAssignment(
|
||||
int32 busIndex,
|
||||
int16 channel,
|
||||
Steinberg::Vst::CtrlNumber midiControllerNumber,
|
||||
Steinberg::Vst::ParamID& id /*out*/) {
|
||||
// TODO: Implement
|
||||
bridge.logger.log("TODO: IMidiMapping::getMidiControllerAssignment()");
|
||||
return Steinberg::kNotImplemented;
|
||||
}
|
||||
|
||||
int32 PLUGIN_API Vst3PluginProxyImpl::getNoteExpressionCount(int32 busIndex,
|
||||
int16 channel) {
|
||||
return bridge.send_message(
|
||||
|
||||
@@ -120,6 +120,13 @@ class Vst3PluginProxyImpl : public Vst3PluginProxy {
|
||||
tresult PLUGIN_API openHelp(TBool onlyCheck) override;
|
||||
tresult PLUGIN_API openAboutBox(TBool onlyCheck) override;
|
||||
|
||||
// From `IMidiMapping`
|
||||
tresult PLUGIN_API
|
||||
getMidiControllerAssignment(int32 busIndex,
|
||||
int16 channel,
|
||||
Steinberg::Vst::CtrlNumber midiControllerNumber,
|
||||
Steinberg::Vst::ParamID& id /*out*/) override;
|
||||
|
||||
// From `INoteExpressionController`
|
||||
int32 PLUGIN_API getNoteExpressionCount(int32 busIndex,
|
||||
int16 channel) override;
|
||||
|
||||
Reference in New Issue
Block a user