Switchboard SDK
|
Holds a list of AudioBus instances. More...
#include <AudioBusList.hpp>
Public Member Functions | |
AudioBusList ()=default | |
Default constructor for AudioBusList. | |
virtual | ~AudioBusList ()=default |
Default destructor for AudioBusList. | |
virtual AudioBusFormatList & | getFormat ()=0 |
Gets the formats of the audio buses. | |
virtual uint | getNumberOfBuses () const =0 |
Gets the number of audio buses. | |
virtual AudioBus & | getBus (const uint busIndex) const =0 |
Gets an audio bus by its index. | |
void | copyFrom (const AudioBusList &srcAudioBusList) const |
Copies another AudioBusList instance. | |
void | clear () const |
Sets the content of all audio buses to zero. | |
AudioBusList (const AudioBusList &)=delete | |
AudioBusList & | operator= (const AudioBusList &)=delete |
Holds a list of AudioBus instances.
AudioBusList abstract superclass.
void switchboard::AudioBusList::copyFrom | ( | const AudioBusList & | srcAudioBusList | ) | const |
Copies another AudioBusList instance.
The number of buses has to match in both instances.
srcAudioBusList | The other AudioBusList instance where data is copied from. |
|
pure virtual |
Gets an audio bus by its index.
busIndex | The index of the audio bus. |
Implemented in switchboard::AudioBusArray< N >, and switchboard::AudioBusVector.
|
pure virtual |
Gets the formats of the audio buses.
Implemented in switchboard::AudioBusArray< N >, and switchboard::AudioBusVector.
|
pure virtual |
Gets the number of audio buses.
Implemented in switchboard::AudioBusArray< N >, and switchboard::AudioBusVector.