VST 3 SDK VST 3.7
SDK for developing VST plug-in
AudioBus Class Reference

Description of an Audio Bus. More...

#include <vstbus.h>

+ Inheritance diagram for AudioBus:

Public Member Functions

 AudioBus (const TChar *name, BusType busType, int32 flags, SpeakerArrangement arr)
 
SpeakerArrangement getArrangement () const
 Gets the speaker arrangement defining this Audio bus. More...
 
void setArrangement (const SpeakerArrangement &arr)
 Sets the speaker arrangement defining this Audio bus. More...
 
bool getInfo (BusInfo &info) SMTG_OVERRIDE
 Gets the BusInfo associated to this Audio bus. More...
 
- Public Member Functions inherited from Bus
 Bus (const TChar *name, BusType busType, int32 flags)
 Constructor. More...
 
TBool isActive () const
 Returns true if the bus is active. More...
 
void setActive (TBool state)
 Activates the bus. More...
 
void setName (const std::u16string &newName)
 Sets a new name for this bus. More...
 
void setBusType (BusType newBusType)
 Sets a new busType for this bus. More...
 
void setFlags (uint32 newFlags)
 Sets a new flags for this bus. More...
 
virtual bool getInfo (BusInfo &)
 Gets the BusInfo of this bus. More...
 

Additional Inherited Members

- Public Attributes inherited from Bus
OBJ_METHODS(Vst::Bus, FObject) protected BusType busType
 < name More...
 
int32 flags
 flags, see BusInfo::BusFlags More...
 
TBool active
 activation state More...
 

Detailed Description

Description of an Audio Bus.

Constructor & Destructor Documentation

◆ AudioBus()

AudioBus ( const TChar name,
BusType  busType,
int32  flags,
SpeakerArrangement  arr 
)

Member Function Documentation

◆ getArrangement()

SpeakerArrangement getArrangement ( ) const
inline

Gets the speaker arrangement defining this Audio bus.

◆ setArrangement()

void setArrangement ( const SpeakerArrangement arr)
inline

Sets the speaker arrangement defining this Audio bus.

◆ getInfo()

bool getInfo ( BusInfo info)
virtual

Gets the BusInfo associated to this Audio bus.

Reimplemented from Bus.

Empty

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