Switchboard SDK
Loading...
Searching...
No Matches
switchboard::AudioGraphOutputNode Class Reference

Represents the output node of the audio graph. More...

#include <AudioGraphOutputNode.hpp>

Inheritance diagram for switchboard::AudioGraphOutputNode:

Public Member Functions

 AudioGraphOutputNode ()
 Creates an AudioGraphOutputNode instance.
 
void setGraphOutAudioBuses (const AudioBusList *graphOutAudioBuses)
 Sets the destination of the audio data.
 
uint getNumberOfBuses () const
 Gets the number of buses that was set by the AudioGraph.
 
bool setNumberOfBuses (const uint numberOfBuses) override
 
bool setBusFormats (AudioBusFormatList &busFormats) override
 
bool consume (AudioBusList &buses) override
 

Detailed Description

Represents the output node of the audio graph.

AudioGraphOutputNode class.

Member Function Documentation

◆ getNumberOfBuses()

uint switchboard::AudioGraphOutputNode::getNumberOfBuses ( ) const

Gets the number of buses that was set by the AudioGraph.

Returns
The number of buses.

◆ setGraphOutAudioBuses()

void switchboard::AudioGraphOutputNode::setGraphOutAudioBuses ( const AudioBusList * graphOutAudioBuses)

Sets the destination of the audio data.

The AudioGraph instance is responsible for calling this method.

Parameters
graphOutAudioBusesAn AudioBusList instance where the audio output will be written to.