tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
tracktion_AuxSendNode.h
Go to the documentation of this file.
1 /*
2 ,--. ,--. ,--. ,--.
3 ,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2024
4 '-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
5 | | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
6 `---' `--' `--`--'`---'`--'`--' `---' `--' `---' `--''--' www.tracktion.com
7
8 Tracktion Engine uses a GPL/commercial licence - see LICENCE.md for details.
9*/
10
11#pragma once
12
13namespace tracktion { inline namespace engine
14{
15
16class TrackMuteState;
17
23{
24public:
25 //==============================================================================
27 AuxSendNode (std::unique_ptr<Node> inputNode, int busIDToUse,
29 bool processAuxSendsWhenTrackIsMuted);
30
31 //==============================================================================
34 void process (ProcessContext&) override;
35
36private:
37 //==============================================================================
39
40 Plugin::Ptr pluginPtr;
41 AuxSendPlugin& sendPlugin;
42
43 double sampleRate = 44100.0;
44 TimeDuration automationAdjustmentTime;
45
46 std::optional<NodeProperties> cachedNodeProperties;
47 bool isPrepared = false;
48};
49
50}} // namespace tracktion { inline namespace engine
Node for an aux send.
NodeProperties getNodeProperties() override
Should return the properties of the node.
void process(ProcessContext &) override
Called when the node is to be processed.
void prepareToPlay(const tracktion::graph::PlaybackInitialisationInfo &) override
Called once before playback begins for each node.
Holds the state of a Track and if its contents/plugins should be played or not.
Struct to describe a single iteration of a process call.
Determines how this block releates to other previous render blocks and if the play head has jumped in...
Represents a duration in real-life time.
Holds some really basic properties of a node.
Passed into Nodes when they are being initialised, to give them useful contextual information that th...