AUDIO
Source snapshot · 11 November 2026

Standalone audio devices

Queued audio input for graph workers

PreparedGraphOutput::with_input(graph, consumer, producer, config) adds explicit queued f32 input while preserving new for no-input graphs. Input/output ring channels match the graph layout (1..64 each), auxiliary buses stay empty and combined worker planar/interleaved scratch stays within 32 MiB. Input/output rates, capture/publication policy and queue owners are explicit; no device or clock is inferred. pump_io still carries bounded staged/generated events.

A fresh render dequeues a whole-frame prefix, zero-fills missing frames, and reports input_frames_consumed/input_underflow_frames. Pending output publication reports both as zero and neither consumes nor repeats new input/events. Malformed outer event/output-storage contracts reject before dequeue. Graph faults may consume input and advance native history; faulty output is suppressed and the worker retains the error until reset, without draining further input. Reset preserves queued/pending audio and input queue data; no automatic retry/replay. Stop/join owners before queue clearing and main graph/native retirement.

The offline public gain probe checks queued stereo input, a half-block output queue, exact retained samples, a starved block and owner retirement:

CARGO_BUILD_JOBS=2 cargo run --release -p ravet-device-probe --bin graph-input --locked -- \
  'target/clap/release/RAVET Gain.clap'

It opens no device/GUI/DAW and does not establish physical capture, independent clock alignment, latency/deadlines or recovery. See decision 0124.