TracktionEngine
|
Public Member Functions | |
TestProcess (std::unique_ptr< NodePlayerType > playerToUse, TestSetup ts, const int numChannelsToUse, const double duration, bool writeToBuffer) | |
std::string | getDescription () const |
Returns a description of the number of channels and length of rendering. More... | |
PerformanceMeasurement::Statistics | getStatisticsAndReset () |
Node & | getNode () const |
NodePlayerType & | getNodePlayer () const |
void | setNode (std::unique_ptr< Node > newNode) |
void | setPlayer (std::unique_ptr< NodePlayerType > newPlayerToUse) |
void | setPlayHead (tracktion::graph::PlayHead *newPlayHead) |
bool | process (int maxNumSamples) |
Processes a number of samples. More... | |
std::shared_ptr< TestContext > | processAll () |
std::shared_ptr< TestContext > | getTestResult () |
tracktion::graph::test_utilities::TestProcess< NodePlayerType >::TestProcess | ( | std::unique_ptr< NodePlayerType > | playerToUse, |
TestSetup | ts, | ||
const int | numChannelsToUse, | ||
const double | duration, | ||
bool | writeToBuffer | ||
) |
std::string tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getDescription | ( | ) | const |
Returns a description of the number of channels and length of rendering.
Referenced by tracktion::engine::benchmark_utilities::prepareRenderAndDestroy().
PerformanceMeasurement::Statistics tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getStatisticsAndReset | ( | ) |
Node& tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getNode | ( | ) | const |
NodePlayerType& tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getNodePlayer | ( | ) | const |
void tracktion::graph::test_utilities::TestProcess< NodePlayerType >::setNode | ( | std::unique_ptr< Node > | newNode | ) |
void tracktion::graph::test_utilities::TestProcess< NodePlayerType >::setPlayer | ( | std::unique_ptr< NodePlayerType > | newPlayerToUse | ) |
void tracktion::graph::test_utilities::TestProcess< NodePlayerType >::setPlayHead | ( | tracktion::graph::PlayHead * | newPlayHead | ) |
bool tracktion::graph::test_utilities::TestProcess< NodePlayerType >::process | ( | int | maxNumSamples | ) |
Processes a number of samples.
Returns true if there is still more processing to be done.
References tracktion::graph::test_utilities::TestSetup::blockSize, tracktion::graph::test_utilities::TestSetup::random, tracktion::graph::test_utilities::TestSetup::randomiseBlockSizes, tracktion::graph::test_utilities::TestSetup::sampleRate, tracktion::graph::PlayHead::setReferenceSampleRange(), and tracktion::graph::toAudioBuffer().
Referenced by tracktion::graph::test_utilities::TestProcess< NodePlayerType >::processAll().
std::shared_ptr<TestContext> tracktion::graph::test_utilities::TestProcess< NodePlayerType >::processAll | ( | ) |
std::shared_ptr<TestContext> tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getTestResult | ( | ) |