AUDIO
Source snapshot · 11 November 2026

Standalone audio devices

Caller-scheduled clocked duplex recovery

RecoveringClockedDuplex owns exact input/output IDs, fixed f32 configurations, ClockedDuplexOptions and a fresh processor factory. Construction checks IDs, channels/rates, native buffer bounds, FIFO/controller/sinc limits before native enumeration or factory calls. Sinc preflight checks allocate no coefficient tables. The first enabled service opens and starts the pair. Missing either device, either backend error or output panic releases both streams before retry; input absence releases before attempting output enumeration. Enumeration errors retain the existing pair. Ordinary DSP faults or capture overflow/conversion underflow alone do not reopen. A failed open/start leaves no pair for the next service.

Disable and request_reopen release immediately; reenable/service creates fresh FIFO, converter/controller histories and factory-owned DSP. Healthy service preserves the current pair. Input/output/clock counters are independent and reset on successful reopen; pair generations wrap at u64 exhaustion. Control-thread poll cadence/backoff, factory state restoration and blocking backend operations remain application choices. No default fallback, settings mutation, hotplug subscription, automatic timer or native plug-in thread scheduling is introduced.

CARGO_BUILD_JOBS=2 cargo run --release -p ravet-device-probe --locked -- \
  --validate-recovery-clocked-duplex-silence input-id output-id

The silent probe checks missing exact IDs without opening streams, three pairs with manual reopen and disable/reenable, callback/error counters and exact control-thread preparation/deactivation. It records no input files. Shared controlled session tests cover failure/retry/release ordering. Physical unplug, real backend faults, long-session drift and deadlines require separate evidence. See decision 0105.