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

Node that mutes and unmutes an audio stream. More...

#include <MuteNode.hpp>

Inheritance diagram for switchboard::MuteNode:

Public Member Functions

SB_WASM MuteNode ()
 MuteNode constructor.
 
SB_WASM bool getIsMuted () const
 Returns whether the node is muting or not.
 
SB_WASM void setIsMuted (const bool newValue)
 Enables or disables muting.
 
SB_WASM bool setBusFormat (AudioBusFormat &inputBusFormat, AudioBusFormat &outputBusFormat) override
 
SB_WASM bool process (AudioBus &inBus, AudioBus &outBus) override
 

Detailed Description

Node that mutes and unmutes an audio stream.

MuteNode class.

Member Function Documentation

◆ getIsMuted()

bool switchboard::MuteNode::getIsMuted ( ) const

Returns whether the node is muting or not.

Returns
True if the node is muting the audio stream, false otherwise.

◆ setIsMuted()

void switchboard::MuteNode::setIsMuted ( const bool newValue)

Enables or disables muting.

Parameters
newValueThe new muting setting.