Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
switchboard::AudioNode Class Reference

Represents a node in the audio graph. More...

#include <AudioNode.hpp>

Inheritance diagram for switchboard::AudioNode:
switchboard::AudioProcessorNode switchboard::AudioSinkNode switchboard::AudioSourceNode switchboard::ChannelSplitterNode switchboard::MixerNode switchboard::SingleBusAudioProcessorNode switchboard::SplitterNode switchboard::AudioGraphOutputNode switchboard::SingleBusAudioSinkNode switchboard::AudioGraphInputNode switchboard::SingleBusAudioSourceNode

Public Member Functions

virtual ~AudioNode ()=default
 AudioNode virtual destructor.
 
const std::string & getType () const
 Gets the type of the audio node.
 
virtual const std::string getDisplayName () const
 Gets the display name of the audio node.
 

Public Attributes

std::string name
 The name of the audio node.
 

Protected Attributes

std::string type
 

Detailed Description

Represents a node in the audio graph.

AudioNode class.

Member Function Documentation

◆ getDisplayName()

const std::string switchboard::AudioNode::getDisplayName ( ) const
virtual

Gets the display name of the audio node.

By default the display name follows this format: name (type)

Returns
The display name of the node.

◆ getType()

const std::string & switchboard::AudioNode::getType ( ) const

Gets the type of the audio node.

Returns
The type of the audio node.

The documentation for this class was generated from the following files: