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 (const uint numberOfBuses)
 Creates an AudioGraphOutputNode instance.
void setGraphOutAudioBuses (const AudioBusList *graphOutAudioBuses)
 Sets the destination of the audio data.
bool setBusFormats (AudioBusFormatList &busFormats) override
bool consume (AudioBusList &buses) override

Detailed Description

Represents the output node of the audio graph.

AudioGraphOutputNode class.

Constructor & Destructor Documentation

◆ AudioGraphOutputNode()

switchboard::AudioGraphOutputNode::AudioGraphOutputNode ( const uint numberOfBuses)

Creates an AudioGraphOutputNode instance.

Parameters
numberOfBusesThe number of buses that the AudioGraphOutputNode will have.

Member Function Documentation

◆ 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.