Holds a list of AudioBusList instances.
More...
#include <AudioBusFormatList.hpp>
|
|
| AudioBusFormatList ()=default |
| | Default constructor for AudioBusFormatList.
|
|
virtual | ~AudioBusFormatList ()=default |
| | Default destructor for AudioBusFormatList.
|
| virtual uint | getNumberOfBuses () const =0 |
| | Returns the number of audio bus formats.
|
| virtual AudioBusFormat & | getBusFormat (const uint busIndex) const =0 |
| | Returns the audio bus format for the specified index.
|
| virtual AudioBusFormatList & | operator= (const AudioBusFormatList &other)=0 |
| | Makes an audio bus format list equal to another audio bus format list.
|
|
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 |
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 |
◆ getNumberOfBuses()
| virtual uint switchboard::AudioBusFormatList::getNumberOfBuses |
( |
| ) |
const |
|
pure virtual |
◆ 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=()
◆ 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: