mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 20:10:13 +02:00
Add stubs for IKeyswitchController
This commit is contained in:
@@ -463,6 +463,23 @@ Vst3PluginProxyImpl::endEditFromHost(Steinberg::Vst::ParamID paramID) {
|
||||
.instance_id = instance_id(), .param_id = paramID});
|
||||
}
|
||||
|
||||
int32 PLUGIN_API Vst3PluginProxyImpl::getKeyswitchCount(int32 busIndex,
|
||||
int16 channel) {
|
||||
// TODO: Implement
|
||||
bridge.logger.log("TODO: IKeyswitchController::getKeyswitchCount()");
|
||||
return Steinberg::kNotImplemented;
|
||||
}
|
||||
|
||||
tresult PLUGIN_API Vst3PluginProxyImpl::getKeyswitchInfo(
|
||||
int32 busIndex,
|
||||
int16 channel,
|
||||
int32 keySwitchIndex,
|
||||
Steinberg::Vst::KeyswitchInfo& info /*out*/) {
|
||||
// TODO: Implement
|
||||
bridge.logger.log("TODO: IKeyswitchController::getKeyswitchInfo()");
|
||||
return Steinberg::kNotImplemented;
|
||||
}
|
||||
|
||||
tresult PLUGIN_API Vst3PluginProxyImpl::getMidiControllerAssignment(
|
||||
int32 busIndex,
|
||||
int16 channel,
|
||||
|
||||
@@ -148,6 +148,14 @@ class Vst3PluginProxyImpl : public Vst3PluginProxy {
|
||||
tresult PLUGIN_API
|
||||
endEditFromHost(Steinberg::Vst::ParamID paramID) override;
|
||||
|
||||
// From `IKeyswitchController`
|
||||
int32 PLUGIN_API getKeyswitchCount(int32 busIndex, int16 channel) override;
|
||||
tresult PLUGIN_API
|
||||
getKeyswitchInfo(int32 busIndex,
|
||||
int16 channel,
|
||||
int32 keySwitchIndex,
|
||||
Steinberg::Vst::KeyswitchInfo& info /*out*/) override;
|
||||
|
||||
// From `IMidiMapping`
|
||||
tresult PLUGIN_API
|
||||
getMidiControllerAssignment(int32 busIndex,
|
||||
|
||||
Reference in New Issue
Block a user