JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
Steinberg::Vst::IComponentHandlerBusActivation Class Referenceabstract

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

#include "ivsteditcontroller.h"

Inheritance diagram for Steinberg::Vst::IComponentHandlerBusActivation:
Steinberg::FUnknown

Public Member Functions

virtual tresult PLUGIN_API requestBusActivation (MediaType type, BusDirection dir, int32 index, TBool state)=0
 request the host to activate or deactivate a specific bus.
 
- Public Member Functions inherited from Steinberg::FUnknown
virtual tresult PLUGIN_API queryInterface (const TUID _iid, void **obj)=0
 Query for a pointer to the specified interface.
 
virtual uint32 PLUGIN_API addRef ()=0
 Adds a reference and returns the new reference count.
 
virtual uint32 PLUGIN_API release ()=0
 Releases a reference and returns the new reference count.
 

Static Public Attributes

static const FUID iid
 
- Static Public Attributes inherited from Steinberg::FUnknown
static const FUID iid
 

Detailed Description

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

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);
}
FUnknownPtr - automatic interface conversion and smart pointer in one.
Definition funknown.h:417
@ kInput
input bus
See also
IComponentHandler

Definition at line 306 of file ivsteditcontroller.h.

Member Data Documentation

◆ iid

const FUID Steinberg::Vst::IComponentHandlerBusActivation::iid
static

Definition at line 315 of file ivsteditcontroller.h.


The documentation for this class was generated from the following file: