Holds a list of AudioBusList instances.
More...
#include <AudioBusFormatList.hpp>
Holds a list of AudioBusList instances.
AudioBusFormatList abstract superclass.
Represents formats of AudioBusList instances without the need for the audio data.
- See also
- AudioBusFormatArray
-
AudioBusFormatVector
◆ getBusFormat()
virtual AudioBusFormat & switchboard::AudioBusFormatList::getBusFormat |
( |
const uint | busIndex | ) |
const |
|
pure virtual |
Returns the audio bus format for the specified index.
- Parameters
-
busIndex | The index of the audio bus. |
- Returns
- The AudioBusFormat for the bus index.
◆ getNumberOfBuses()
virtual uint switchboard::AudioBusFormatList::getNumberOfBuses |
( |
| ) |
const |
|
pure virtual |
Returns the number of audio bus formats.
- Returns
- The number of audio buses.
◆ isPartlySet()
bool switchboard::AudioBusFormatList::isPartlySet |
( |
| ) |
const |
Checks whether any of the audio bus formats are set.
- Returns
- True if any of the audio bus formats are defined, false otherwise.
◆ isSet()
bool switchboard::AudioBusFormatList::isSet |
( |
| ) |
const |
Checks whether all audio bus formats are set.
- Returns
- True if all audio bus formats are defined, false otherwise.
◆ matchBusFormats() [1/2]
Matches all bus formats in two AudioBusFormatList instances.
Finds the first defined bus format and requires the same bus format for all of the other buses. If none of the bus formats are defined, it returns with false.
- Parameters
-
busFormatList1 | The first bus format list in which the bus formats will be matched. |
busFormatList2 | The second bus format list in which the bus formats will be matched. |
- Returns
- True if the bus formats could be matched successfully, false otherwise.
◆ matchBusFormats() [2/2]
Matches all bus formats in an AudioBusFormatList instance.
Finds the first defined bus format and requires the same bus format for all of the other buses. If none of the bus formats are defined, it returns with false.
- Parameters
-
busFormats | The bus format list in which the bus formats will be matched. |
- Returns
- True if the bus formats could be matched successfully, false otherwise.
◆ operator!=()
Compares two audio bus format lists.
- Parameters
-
- Returns
- True if the stored audio bus formats are different, false otherwise.
◆ operator=()
Makes an audio bus format list equal to another audio bus format list.
- Parameters
-
other | The other audio bus format list. |
◆ operator==()
Compares two audio bus format lists.
- Parameters
-
- Returns
- True if all audio bus formats match, false otherwise.
◆ toString()
std::string switchboard::AudioBusFormatList::toString |
( |
| ) |
const |
Returns a string representing the object.
- Returns
- A string representing the object.
The documentation for this struct was generated from the following file: