mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-15 04:50:43 +02:00
Add stubs for IComponentHandlerBusActivation
This commit is contained in:
@@ -114,6 +114,17 @@ Vst3ComponentHandlerProxyImpl::createContextMenu(
|
||||
}
|
||||
}
|
||||
|
||||
tresult PLUGIN_API Vst3ComponentHandlerProxyImpl::requestBusActivation(
|
||||
Steinberg::Vst::MediaType type,
|
||||
Steinberg::Vst::BusDirection dir,
|
||||
int32 index,
|
||||
TBool state) {
|
||||
// TODO: Implement
|
||||
std::cerr << "TODO: IComponentHandlerBusActivation::requestBusActivation()"
|
||||
<< std::endl;
|
||||
return Steinberg::kNotImplemented;
|
||||
}
|
||||
|
||||
tresult PLUGIN_API Vst3ComponentHandlerProxyImpl::notifyUnitSelection(
|
||||
Steinberg::Vst::UnitID unitId) {
|
||||
return bridge.send_message(YaUnitHandler::NotifyUnitSelection{
|
||||
|
||||
@@ -50,6 +50,12 @@ class Vst3ComponentHandlerProxyImpl : public Vst3ComponentHandlerProxy {
|
||||
createContextMenu(Steinberg::IPlugView* plugView,
|
||||
const Steinberg::Vst::ParamID* paramID) override;
|
||||
|
||||
// From `IComponentHandlerBusActivation`
|
||||
tresult PLUGIN_API requestBusActivation(Steinberg::Vst::MediaType type,
|
||||
Steinberg::Vst::BusDirection dir,
|
||||
int32 index,
|
||||
TBool state) override;
|
||||
|
||||
// From `IUnitHandler`
|
||||
tresult PLUGIN_API
|
||||
notifyUnitSelection(Steinberg::Vst::UnitID unitId) override;
|
||||
|
||||
Reference in New Issue
Block a user