Controls and complete global state¶
The owner has a fixed single-producer/single-consumer ring with power-of-two slots from2..1024 (default32; capacity slots-1). Complete scalar/capacity preflight reserves before SDK acknowledgement mutation. SDK SetParameterNormalizedValue is a host request; UpdateParameterNormalizedValue acknowledges canonical native intent. Prepared scalar staging uses the immutable native cache; complete codecs are CONTROL construction/save/restore work. Positive-frame AUDIO blocks consume accepted block-start parameter events. Zero-frame blocks with pending commands reject before state/DSP transfer. Queue overflow rejects without overwrite. Readiness-only failure invalidation does not perform DSP lifecycle concurrently with AUDIO.
Complete restore validates and decodes an isolated native codec before SDK objects or queue intent change. The newest queued complete restore supersedes older global commands; following parameter commands retain source order. CONTROL save includes acknowledged queued global values before render, excluding voices/history. Complete fixed native state is persisted with exact outer manufacturer/product/native/chunk identity, data size and version1. GetChunk accepts matching caller-populated identity and capacity, supplies version/name/canonical data; restore and comparison require the version too. All chunk storage must cover the declared header and data. Unknown identity/version/shape or malformed payload rejects before SDK/native intent mutation. SDK objects' void value updates can issue arbitrary foreign notifications; completed foreign sideeffects and partial exceptional SDK updates have no rollback. SDK registration/automation objects retain their public void behavior; delegate statuses erased by those wrappers cannot be recovered as new checked successes. An exceptional/failed SDK mutation cancels the reservation and fail-closes until stopped retirement/fresh initialization restores accepted native intent.
The default Gain model requires writable global controls, including a unique native bypass. Performance instead has Level-only control and no invented bypass. Separate reusable adapters cover auxiliary routing, acknowledged latency, generated short MIDI, native editor control and internal precision. DSP-generated/read-only reflection, a factory program catalogue, a generic host tail declaration and AudioSuite remain distinct scopes. Offline notifications only record mode metadata; this native ABI has no processing-mode field and does not reprepare DSP or claim mode-specific behavior.
The optional external-SDK C++17 native parameter helper
uses a shared immutable native cache and stages actual SDK objects. Full native
IDs map to exact p plus uppercase hexadecimal without leading zeroes; no prefix,
suffix, lowercase or Byp aliases are accepted. Scalar double intent must be
finite and in0..1, explicitly narrows to f32, and returns widened native canonical
f32 normalized values after physical range/step mapping. Read-only controls reject
updates and suppress SDK automation. Continuous SDK objects retain128 steps;
discrete objects declare intervals+1. Physical shortest f32 text and Boolean
On/Off parse completely, with bounded ASCII input and no implicit unit suffix.
Metadata names/units retain complete bounded UTF8 bytes. Caller SDK visual display
is separate. Construction/text/SDK registration and retirement are serialized
CONTROL operations; prepared scalar preflight makes no C++ heap allocation in the
exercised100000-cycle valid/late-fault test. Retain table/library and all borrowed
SDK objects through use. Default schema precision is32; explicit64 selects metadata
for its originating native table. The schema helper alone does not process audio;
explicit native64 processing uses the separately checked owner
and matching audio-state/codec tables behind host-f32 buffers.
SDK AddParameter may append its owning vector before a failing map allocation. The helper checks public indexed adoption and retires adopted objects only through public SDK removal; accepted prefixes clear on failure. Cloned display adapters retain shared immutable cache ownership until the final borrower retires. Known shape/ID faults precede insertion. Use an exclusively serialized empty manager and preserve the exact staged SDK definitions; foreign notification effects have no rollback. Foreign AAX_IString Set failures likewise have no atomic rollback promise. Decision0209 records these ownership and callback limits.