Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
aax_runtime_testing.hpp File Reference
#include <pulp/format/aax_editor.hpp>
#include <pulp/format/aax_model.hpp>
#include <pulp/format/processor.hpp>
#include <pulp/state/store.hpp>
#include <AAX_Enums.h>
#include <acfunknown.h>
#include <cstddef>
#include <cstdint>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  pulp
namespace  pulp::format
 What the product grants a device: the quota table indexed by capability tier and live thermal state.
namespace  pulp::format::aax
namespace  pulp::format::aax::testing

Functions

std::size_t pulp::format::aax::testing::private_data_block_size ()
 Size of the private-data block the algorithm registers with the host.
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.
int32_t pulp::format::aax::testing::instance_init_for_test (void *block, AAX_EComponentInstanceInitAction action)
 Drive the algorithm's instance-init callback for block.
Processor * pulp::format::aax::testing::algorithm_processor (void *block)
 The Processor that renders audio for block, or null when none exists.
state::StateStore * pulp::format::aax::testing::algorithm_store (void *block)
 Its store, or null.
EditorHost * pulp::format::aax::testing::editor_host (IACFUnknown *model)
 The model's editor-facing surface.
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.
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.
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.
std::size_t pulp::format::aax::testing::instance_component_index (void *block)
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.