Switchboard Extension SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
AudioNode.hpp
1
//
2
// AudioNode.hpp
3
// SwitchboardSDK
4
//
5
// Created by Balázs Kiss on 2022. 03. 03..
6
// Copyright © 2022. Synervoz Inc. All rights reserved.
7
//
8
9
#pragma once
10
11
#include <switchboard/export.h>
12
#include <switchboard_core/Node.hpp>
13
#include <switchboard_core/SwitchboardCore.hpp>
14
15
#include <any>
16
#include <map>
17
#include <string>
18
#include <vector>
19
20
namespace
switchboard {
21
26
class
SWITCHBOARDSDK_EXPORT
AudioNode
:
public
Node
{
27
public
:
34
AudioNode
(uint
numberOfInputs
, uint
numberOfOutputs
);
35
39
~AudioNode
()
override
=
default
;
40
47
virtual
std::string
getDisplayName
()
const
;
48
53
virtual
void
onGraphStart
() {}
54
59
virtual
void
onGraphStop
() {}
60
};
61
62
}
switchboard::AudioNode::onGraphStart
virtual void onGraphStart()
Called when the audio graph is started.
Definition
AudioNode.hpp:53
switchboard::AudioNode::AudioNode
AudioNode(uint numberOfInputs, uint numberOfOutputs)
AudioNode constructor.
switchboard::AudioNode::onGraphStop
virtual void onGraphStop()
Called when the audio graph is stopped.
Definition
AudioNode.hpp:59
switchboard::AudioNode::~AudioNode
~AudioNode() override=default
AudioNode virtual destructor.
switchboard::AudioNode::getDisplayName
virtual std::string getDisplayName() const
Gets the display name of the audio node.
switchboard::Node::numberOfOutputs
unsigned int numberOfOutputs
The number of outputs (audio buses) for the node.
Definition
Node.hpp:92
switchboard::Node::numberOfInputs
unsigned int numberOfInputs
The number of inputs (audio buses) for the node.
Definition
Node.hpp:89
switchboard::Node::Node
Node(uint numberOfInputs, uint numberOfOutputs)
Node constructor.
SwitchboardSDK
include
switchboard_core
AudioNode.hpp
Generated by
1.17.0