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

« « « Anklang Documentation
Loading...
Searching...
No Matches
tracktion_LevelMeasuringNode.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
11namespace tracktion { inline namespace engine
12{
13
18{
19public:
21
22 tracktion::graph::NodeProperties getNodeProperties() override { return input->getNodeProperties(); }
24 bool isReadyToProcess() override { return input->hasProcessed(); }
26
27private:
29 LevelMeasurer& levelMeasurer;
30};
31
32}} // namespace tracktion { inline namespace engine
Monitors the levels of buffers that are passed in, and keeps peak values, overloads,...
A Node that passes its incomming audio and MIDI through a LevelMeasurer.
std::vector< tracktion::graph::Node * > getDirectInputNodes() override
Should return all the inputs directly feeding in to this node.
void process(tracktion::graph::Node::ProcessContext &) override
Called when the node is to be processed.
tracktion::graph::NodeProperties getNodeProperties() override
Should return the properties of the node.
bool isReadyToProcess() override
Should return true when this node is ready to be processed.
Main graph Node processor class.
Struct to describe a single iteration of a process call.
T get(T... args)
Holds some really basic properties of a node.