|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Simple processor for a Node which uses an InputProvider to pass input in to the graph. More...
#include "tracktion_RackNode.h"
Public Member Functions | |
| RackNodePlayer (std::unique_ptr< tracktion::graph::Node > nodeToProcess) | |
| Creates an RackNodePlayer to process an Node with input. | |
| RackNodePlayer (std::unique_ptr< tracktion::graph::Node > nodeToProcess, double sampleRateToUse, int blockSizeToUse) | |
| Creates an RackNodePlayer to process an Node with input, sample rate and block size. | |
| void | prepareToPlay (double sampleRate, int blockSize) |
| Preapres the processor to be played. | |
| int | getLatencySamples () |
| int | process (const tracktion::graph::Node::ProcessContext &pc) |
| Processes a block of audio and MIDI data. | |
| int | process (const tracktion::graph::Node::ProcessContext &pc, TimeRange editTime, bool isPlaying, bool isScrubbing, bool isRendering) |
| Processes a block of audio and MIDI data with a given PlayHead and EditTimeRange. | |
Simple processor for a Node which uses an InputProvider to pass input in to the graph.
This simply iterate all the nodes attempting to process them in a single thread.
Definition at line 68 of file tracktion_RackNode.h.
| tracktion::engine::RackNodePlayer< NodePlayerType >::RackNodePlayer | ( | std::unique_ptr< tracktion::graph::Node > | nodeToProcess | ) |
Creates an RackNodePlayer to process an Node with input.
Definition at line 72 of file tracktion_RackNode.h.
| tracktion::engine::RackNodePlayer< NodePlayerType >::RackNodePlayer | ( | std::unique_ptr< tracktion::graph::Node > | nodeToProcess, |
| double | sampleRateToUse, | ||
| int | blockSizeToUse | ||
| ) |
Creates an RackNodePlayer to process an Node with input, sample rate and block size.
Definition at line 78 of file tracktion_RackNode.h.
| int tracktion::engine::RackNodePlayer< NodePlayerType >::getLatencySamples | ( | ) |
Definition at line 92 of file tracktion_RackNode.h.
| void tracktion::engine::RackNodePlayer< NodePlayerType >::prepareToPlay | ( | double | sampleRate, |
| int | blockSize | ||
| ) |
Preapres the processor to be played.
Definition at line 85 of file tracktion_RackNode.h.
| int tracktion::engine::RackNodePlayer< NodePlayerType >::process | ( | const tracktion::graph::Node::ProcessContext & | pc | ) |
Processes a block of audio and MIDI data.
Returns the number of times a node was checked but unable to be processed.
Definition at line 100 of file tracktion_RackNode.h.
| int tracktion::engine::RackNodePlayer< NodePlayerType >::process | ( | const tracktion::graph::Node::ProcessContext & | pc, |
| TimeRange | editTime, | ||
| bool | isPlaying, | ||
| bool | isScrubbing, | ||
| bool | isRendering | ||
| ) |
Processes a block of audio and MIDI data with a given PlayHead and EditTimeRange.
This should be used when processing ExternalPlugins or they will crash when getting the playhead info.
Definition at line 108 of file tracktion_RackNode.h.