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 (const uint numberOfBuses)
 Creates an AudioGraphInputNode instance.
void setGraphInAudioBuses (const AudioBusList *graphInAudioBuses)
 Sets the source of the audio data.
bool setBusFormats (AudioBusFormatList &busFormats) override
bool produce (AudioBusList &buses) override

Detailed Description

Represents the input node of the audio graph.

AudioGraphInputNode class.

Constructor & Destructor Documentation

◆ AudioGraphInputNode()

switchboard::AudioGraphInputNode::AudioGraphInputNode ( const uint numberOfBuses)

Creates an AudioGraphInputNode instance.

Parameters
numberOfBusesThe number of buses that the AudioGraphInputNode will have.

Member Function Documentation

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