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

Encapsulates multiple nodes into a SourceNode. More...

#include <SubgraphSourceNode.hpp>

Inheritance diagram for switchboard::SubgraphSourceNode:

Public Member Functions

SB_WASM SubgraphSourceNode ()
 Creates a SubgraphSourceNode instance.
 
 SubgraphSourceNode (const std::map< std::string, std::any > &config)
 Creates a SubgraphSourceNode instance with the given configuration.
 
SB_WASM ~SubgraphSourceNode ()
 SubgraphSourceNode destructor.
 
SB_WASM void setAudioGraph (AudioGraph *audioGraph)
 Set the AudioGraph for the SubgraphSourceNode.
 
SB_WASM bool setNumberOfBuses (const uint numberOfBuses) override
 
SB_WASM bool setBusFormats (AudioBusFormatList &busFormats) override
 
SB_WASM bool produce (AudioBusList &buses) override
 

Detailed Description

Encapsulates multiple nodes into a SourceNode.

SubgraphSourceNode class.

Constructor & Destructor Documentation

◆ SubgraphSourceNode()

switchboard::SubgraphSourceNode::SubgraphSourceNode ( const std::map< std::string, std::any > & config)

Creates a SubgraphSourceNode instance with the given configuration.

Parameters
configConfiguration map for the node.