Represents the output node of the audio graph. More...
#include <AudioGraphOutputNode.hpp>
Public Member Functions | |
AudioGraphOutputNode () | |
Creates an AudioGraphOutputNode instance. | |
void | setGraphOutAudioBuses (AudioBusList *graphOutAudioBuses) |
Sets the destination of the audio data. | |
bool | setNumberOfBuses (const uint numberOfBuses) override |
Sets number of buses. | |
bool | setBusFormats (AudioBusFormatList &busFormats) override |
Sets bus formats. | |
bool | consume (AudioBusList &buses) override |
Consumes audio data from the given buses. | |
virtual bool | setNumberOfBuses (const uint numberOfBuses)=0 |
Sets number of buses. | |
virtual bool | setBusFormats (AudioBusFormatList &busFormats)=0 |
Sets bus formats. | |
virtual bool | consume (AudioBusList &buses)=0 |
Consumes audio data from the given buses. | |
![]() | |
virtual | ~AudioNode ()=default |
AudioNode virtual destructor. | |
const std::string & | getType () const |
Gets the type of the audio node. | |
virtual const std::string | getDisplayName () const |
Gets the display name of the audio node. | |
Additional Inherited Members | |
![]() | |
std::string | name |
The name of the audio node. | |
![]() | |
std::string | type |
Represents the output node of the audio graph.
AudioGraphOutputNode class.
|
overridevirtual |
Consumes audio data from the given buses.
Should be overridden by subclasses.
buses | The buses that contain the audio data. |
Implements switchboard::AudioSinkNode.
|
overridevirtual |
Sets bus formats.
Should be overridden by subclasses.
busFormats | The bus formats to set. |
Implements switchboard::AudioSinkNode.
void switchboard::AudioGraphOutputNode::setGraphOutAudioBuses | ( | AudioBusList * | graphOutAudioBuses | ) |
Sets the destination of the audio data.
The AudioGraph instance is responsible for calling this method.
graphOutAudioBuses | An AudioBusList instance where the audio output will be written to. |
|
overridevirtual |
Sets number of buses.
Should be overridden by subclasses.
numberOfBuses | The number of buses to set. |
Implements switchboard::AudioSinkNode.