16namespace tracktion {
inline namespace engine
44 void visitNodes (
const VisitorFn&)
override;
49 bool isReadyToRender()
override;
61 double originalSpeedRatio = 0, outputSampleRate = 44100.0;
65 double audioFileSampleRate = 0;
72 SampleCount editTimeToFileSample (
double)
const noexcept;
73 bool updateFileSampleRate();
Base class for nodes in an audio playback graph.
An AudioNode that plays back a wave file.
bool purgeSubNodes(bool keepAudio, bool keepMidi) override
Tells the node to delete any sub-nodes that don't produce the required type of output.
void releaseAudioNodeResources() override
tells the node that play has stopped, and it can free up anything it no longer needs.
void prepareAudioNodeToPlay(const PlaybackInitialisationInfo &) override
tells the node to initialise itself ready for playing from the given time.
Holds some really basic properties of a node.
Passed into AudioNodes when they are being initialised, to give them useful contextual information th...
Provides a thread-safe way to share a clip's levels with an audio engine without worrying about the C...