VST 3 Interfaces  VST 3.7
SDK for developing VST plug-in
[3.6.8] Request Bus Activation

Extended host callback interface for an edit controller: Vst::IComponentHandlerBusActivation.

  • [host imp]
  • [extends IComponentHandler]
  • [released: 3.6.8]
  • [optional]

Allows the plug-in to request the host to activate or deactivate a specific bus. If the host accepts this request, it will call later on IComponent::activateBus. This is particularly useful for instruments with more than 1 outputs, where the user could request from the plug-in UI a given output bus activation.

// somewhere in your code when you need to inform the host to enable a specific Bus.
FUnknownPtr<IComponentHandlerBusActivation> busActivation (componentHandler);
if (busActivation)
{
// here we want to activate our audio input sidechain (the 2cd input bus: index 1)
busActivation->requestBusActivation (kAudio, kInput, 1, true);
}
See also
IComponentHandler

Back to Contents
Empty

Copyright ©2020 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.