AUDIO
Source snapshot · 11 November 2026

Internal native precision in AAX

Conversion and failure behavior

AaxIeeePrecision observes IEEE storage bits through memcpy. Finite binary32 samples widen exactly, including subnormals and signed zero. Infinities retain sign; NaNs become quiet and retain the representable sign/payload. Every host sample bit pattern is accepted. The adapter does not add a finite-audio gate, change FE/FTZ/DAZ, or sanitize the native processor's signal behavior.

Finite double output narrows with software round-to-nearest, ties-to-even and gradual underflow, independently of the caller's rounding mode and compiler fast-math assumptions. NaNs quiet; infinities and signed zero remain valid outputs. A finite value whose correctly rounded result overflows binary32 is a conversion fault. This differs from an infinity that the processor actually produced.

Whole structural/input preflight precedes apply-state, dequeue, timing adoption and native history. Data-dependent output overflow is discovered after the single authoritative native DSP call. The adapter validates every output word before copying any host sample or posting generated MIDI. On overflow it silences the supported declared output prefix, preserves backing tails, poisons readiness and publishes no generated events. Native history and accepted queue consumption have already advanced; there is no rollback claim.

A fresh complete stopped prepare can recover an untimed owner using its accepted complete intent. A timed owner's sticky fault survives old-slot CONTROL retirement and rejects prepare/reset/Initialize before foreign calls. Recovery requires a fresh correctly configured instance and host latency reconciliation. No callback destroys a retired timing processor.

precisionDiagnosticsStopped() requires stop/join and reports local preflight, narrowing or exception error separately from state/process attempt and return flags, original native codes, queue consumption and sample transfer. A code is meaningful for that block only if its returned flag is true. lastNativeProcessStatus() is the lock-free last actually returned native DSP code; a later local rejection or unreturned throw does not replace it. Native refusal codes remain exact. Defensive C++ exception containment poisons the 64-bit owner and silences supported output; it does not authorize unwinding across C or Rust ABI boundaries. Actual Rust panic containment remains authoritative.

Generated-output validation/delivery and returned SDK statuses remain separate from native/conversion results. A successful native process never proves host MIDI delivery. Timing candidates migrate complete global state after a matching ACK/control getter; precision does not alter the existing zero-history candidate policy or create a host tail API.