79 tresult PLUGIN_API
getRoutingInfo (RoutingInfo& inInfo, RoutingInfo& outInfo) SMTG_OVERRIDE;
81 tresult PLUGIN_API
setActive (TBool state) SMTG_OVERRIDE;
87 tresult PLUGIN_API
terminate () SMTG_OVERRIDE;
100 BusList audioOutputs;
102 BusList eventOutputs;
105 tresult removeAllBusses ();
Handling 16 Byte Globally Unique Identifiers.
The basic interface of all interfaces.
Base class for VST 3 Component and Edit Controller.
Default implementation for a VST 3 Component.
int32 PLUGIN_API getBusCount(MediaType type, BusDirection dir) SMTG_OVERRIDE
Called after the plug-in is initialized.
tresult PLUGIN_API getState(IBStream *state) SMTG_OVERRIDE
Retrieves complete state of component.
tresult PLUGIN_API getRoutingInfo(RoutingInfo &inInfo, RoutingInfo &outInfo) SMTG_OVERRIDE
Retrieves routing information (to be implemented when more than one regular input or output bus exist...
tresult PLUGIN_API setState(IBStream *state) SMTG_OVERRIDE
Sets complete state of component.
tresult PLUGIN_API setActive(TBool state) SMTG_OVERRIDE
Activates / deactivates the component.
tresult PLUGIN_API initialize(FUnknown *context) SMTG_OVERRIDE
The host passes a number of interfaces as context to initialize the plug-in class.
tresult PLUGIN_API setIoMode(IoMode mode) SMTG_OVERRIDE
Called before 'initialize' to set the component usage (optional).
tresult PLUGIN_API activateBus(MediaType type, BusDirection dir, int32 index, TBool state) SMTG_OVERRIDE
Called upon (de-)activating a bus in the host application.
tresult PLUGIN_API getControllerClassId(TUID classID) SMTG_OVERRIDE
Called before initializing the component to get information about the controller class.
tresult PLUGIN_API getBusInfo(MediaType type, BusDirection dir, int32 index, BusInfo &info) SMTG_OVERRIDE
Called after the plug-in is initialized.
void setControllerClass(const FUID &cid)
Sets the controller Class ID associated to its component.
tresult PLUGIN_API terminate() SMTG_OVERRIDE
This function is called before the plug-in is unloaded and can be used for cleanups.
tresult renameBus(MediaType type, BusDirection dir, int32 index, const String128 newName)
Renames a specific bus.
tresult removeAudioBusses()
Removes all Audio Busses.
tresult removeEventBusses()
Removes all Event Busses.
Component base interface: Vst::IComponent.
#define DEFINE_INTERFACES
Start defining interfaces.
#define DEF_INTERFACE(InterfaceName)
Add a interfaces.
#define END_DEFINE_INTERFACES(BaseClass)
End defining interfaces.
#define REFCOUNT_METHODS(BaseClass)
Delegate refcount functions to BaseClass.
int32 IoMode
I/O mode (see vst3IoMode)
TChar String128[128]
128 character UTF-16 string
tresult getSpeakerChannelIndex(SpeakerArrangement arrangement, uint64 speaker, int32 &channel)
Gets the channel index of a given speaker in a arrangement, returns kResultFalse if speaker not part ...
int32 BusDirection
bus direction (in/out)
uint64 SpeakerArrangement
Bitset of speakers.
int32 MediaType
media type (audio/event)