TracktionEngine
|
#include <tracktion_TestUtilities.h>
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. | |
const PerformanceMeasurement & | getPerformanceMeasurement () |
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. | |
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().
const PerformanceMeasurement & tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getPerformanceMeasurement | ( | ) |
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 | ) |
Referenced by tracktion::engine::benchmark_utilities::renderEdit().
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::toAudioBuffer().
std::shared_ptr< TestContext > tracktion::graph::test_utilities::TestProcess< NodePlayerType >::processAll | ( | ) |
std::shared_ptr< TestContext > tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getTestResult | ( | ) |