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

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

#include <AudioGraphInputNode.hpp>

Inheritance diagram for switchboard::AudioGraphInputNode:

Public Member Functions

 AudioGraphInputNode ()
 Creates an AudioGraphInputNode instance.
 
void setGraphInAudioBuses (const AudioBusList *graphInAudioBuses)
 Sets the source 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 produce (AudioBusList &buses) override
 

Detailed Description

Represents the input node of the audio graph.

AudioGraphInputNode class.

Member Function Documentation

◆ getNumberOfBuses()

uint switchboard::AudioGraphInputNode::getNumberOfBuses ( ) const

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

Returns
The number of buses.

◆ setGraphInAudioBuses()

void switchboard::AudioGraphInputNode::setGraphInAudioBuses ( const AudioBusList * graphInAudioBuses)

Sets the source of the audio data.

The AudioGraph instance is responsible for calling this method.

Parameters
graphInAudioBusesAn AudioBusList instance that has the audio input data.