TracktionEngine
Public Member Functions | List of all members
tracktion::graph::SimpleNodePlayer Class Reference

Simple player for a Node. More...

Public Member Functions

 SimpleNodePlayer (std::unique_ptr< Node > nodeToPlay, double sampleRateToUse, int blockSizeToUse)
 Creates a player to play a Node at a given sample rate and block size. More...
 
void process (const Node::ProcessContext &pc)
 Processes a block of audio and MIDI data. More...
 

Detailed Description

Simple player for a Node.

This iterates all the nodes attempting to process them in a single thread.

Constructor & Destructor Documentation

◆ SimpleNodePlayer()

tracktion::graph::SimpleNodePlayer::SimpleNodePlayer ( std::unique_ptr< Node nodeToPlay,
double  sampleRateToUse,
int  blockSizeToUse 
)

Creates a player to play a Node at a given sample rate and block size.

Member Function Documentation

◆ process()

void tracktion::graph::SimpleNodePlayer::process ( const Node::ProcessContext pc)

The documentation for this class was generated from the following file: