Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::aax::testing Namespace Reference

Functions

std::size_t private_data_block_size ()
 Size of the private-data block the algorithm registers with the host.
AAX_Result reset_private_data (IACFUnknown *model, void *block, std::size_t size)
 Run the model's ResetFieldData for the private-data field against block, as the host does when it instantiates the algorithm.
int32_t instance_init_for_test (void *block, AAX_EComponentInstanceInitAction action)
 Drive the algorithm's instance-init callback for block.
Processor * algorithm_processor (void *block)
 The Processor that renders audio for block, or null when none exists.
state::StateStore * algorithm_store (void *block)
 Its store, or null.
EditorHost * editor_host (IACFUnknown *model)
 The model's editor-facing surface.
int pending_latency_report_for_test (IACFUnknown *model)
 The latency the model would republish on its next TimerWakeup, or -1 when the bound processor has not raised its latency-changed flag.
std::size_t select_layout_for_test (const std::vector< ComponentLayout > &components, StemKind input_stem, StemKind output_stem)
 Layout selection as the model performs it from the controller's stems.
void adopt_layout_for_test (void *block, StemKind input_stem, StemKind output_stem, double sample_rate)
 Adopt a stem choice the way ResetFieldData does when the host's controller answers, including the control-thread prepare.
std::size_t instance_component_index (void *block)
bool render_for_test (void *block, float **inputs, float **outputs, int frames, double sample_rate)
 Run one render callback over the instance with host-shaped pointer arrays.

Function Documentation

◆ adopt_layout_for_test()

void pulp::format::aax::testing::adopt_layout_for_test ( void * block,
StemKind input_stem,
StemKind output_stem,
double sample_rate )

Adopt a stem choice the way ResetFieldData does when the host's controller answers, including the control-thread prepare.

◆ algorithm_processor()

Processor * pulp::format::aax::testing::algorithm_processor ( void * block)

The Processor that renders audio for block, or null when none exists.

◆ algorithm_store()

state::StateStore * pulp::format::aax::testing::algorithm_store ( void * block)

Its store, or null.

◆ editor_host()

EditorHost * pulp::format::aax::testing::editor_host ( IACFUnknown * model)

The model's editor-facing surface.

◆ instance_component_index()

std::size_t pulp::format::aax::testing::instance_component_index ( void * block)

◆ instance_init_for_test()

int32_t pulp::format::aax::testing::instance_init_for_test ( void * block,
AAX_EComponentInstanceInitAction action )

Drive the algorithm's instance-init callback for block.

◆ pending_latency_report_for_test()

int pulp::format::aax::testing::pending_latency_report_for_test ( IACFUnknown * model)

The latency the model would republish on its next TimerWakeup, or -1 when the bound processor has not raised its latency-changed flag.

◆ private_data_block_size()

std::size_t pulp::format::aax::testing::private_data_block_size ( )

Size of the private-data block the algorithm registers with the host.

◆ render_for_test()

bool pulp::format::aax::testing::render_for_test ( void * block,
float ** inputs,
float ** outputs,
int frames,
double sample_rate )

Run one render callback over the instance with host-shaped pointer arrays.

◆ reset_private_data()

AAX_Result pulp::format::aax::testing::reset_private_data ( IACFUnknown * model,
void * block,
std::size_t size )

Run the model's ResetFieldData for the private-data field against block, as the host does when it instantiates the algorithm.

◆ select_layout_for_test()

std::size_t pulp::format::aax::testing::select_layout_for_test ( const std::vector< ComponentLayout > & components,
StemKind input_stem,
StemKind output_stem )

Layout selection as the model performs it from the controller's stems.