Switchboard SDK
|
Holds a list of AudioBusList instances on the stack. More...
#include <AudioBusFormatArray.hpp>
Public Member Functions | |
AudioBusFormatArray ()=default | |
Creates an AudioBusFormatArray instance. | |
uint | getNumberOfBuses () const override |
Returns the number of audio bus formats. | |
AudioBusFormat & | getBusFormat (const uint busIndex) const override |
Returns the audio bus format for the specified index. | |
AudioBusFormatList & | operator= (const AudioBusFormatList &other) override |
Makes an audio bus format list equal to another audio bus format list. | |
Public Member Functions inherited from switchboard::AudioBusFormatList | |
AudioBusFormatList ()=default | |
Default constructor for AudioBusFormatList. | |
virtual | ~AudioBusFormatList ()=default |
Default destructor for AudioBusFormatList. | |
void | reset () |
Resets all audio bus formats stored in the instance. | |
bool | isSet () const |
Checks whether all audio bus formats are set. | |
bool | isPartlySet () const |
Checks whether any of the audio bus formats are set. | |
bool | operator== (const AudioBusFormatList &other) |
Compares two audio bus format lists. | |
bool | operator!= (const AudioBusFormatList &other) |
Compares two audio bus format lists. | |
std::string | toString () const |
Returns a string representing the object. | |
AudioBusFormatList (const AudioBusFormatList &)=delete | |
Additional Inherited Members | |
Static Public Member Functions inherited from switchboard::AudioBusFormatList | |
static bool | matchBusFormats (AudioBusFormatList &busFormats) |
Matches all bus formats in an AudioBusFormatList instance. | |
static bool | matchBusFormats (AudioBusFormatList &busFormatList1, AudioBusFormatList &busFormatList2) |
Matches all bus formats in two AudioBusFormatList instances. | |
Holds a list of AudioBusList instances on the stack.
AudioBusFormatArray class.
Represents formats of AudioBusList instances without the need for the audio data.
|
default |
Creates an AudioBusFormatArray instance.
Allocates enough memory on the stack to hold the AudioBusFormat instances.
|
overridevirtual |
Returns the audio bus format for the specified index.
busIndex | The index of the audio bus. |
Implements switchboard::AudioBusFormatList.
|
overridevirtual |
Returns the number of audio bus formats.
Implements switchboard::AudioBusFormatList.
|
overridevirtual |
Makes an audio bus format list equal to another audio bus format list.
other | The other audio bus format list. |
Implements switchboard::AudioBusFormatList.