A node that consumes audio and only has incoming connections. More...
#include <AudioSinkNode.hpp>
Public Member Functions | |
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 |
A node that consumes audio and only has incoming connections.
AudioSinkNode class.
|
pure virtual |
Consumes audio data from the given buses.
Should be overridden by subclasses.
buses | The buses that contain the audio data. |
Implemented in switchboard::AudioGraphOutputNode, and switchboard::SingleBusAudioSinkNode.
|
pure virtual |
Sets bus formats.
Should be overridden by subclasses.
busFormats | The bus formats to set. |
Implemented in switchboard::AudioGraphOutputNode, and switchboard::SingleBusAudioSinkNode.
|
pure virtual |
Sets number of buses.
Should be overridden by subclasses.
numberOfBuses | The number of buses to set. |
Implemented in switchboard::AudioGraphOutputNode, and switchboard::SingleBusAudioSinkNode.