Skip to main content

Module atomic_params

Module atomic_params 

Source
Expand description

Lock-free parameter bridge for audio thread access.

Provides AtomicParameterBridge — a collection of AtomicF32 values keyed by parameter ID. The WebSocket thread writes parameter updates via store(), and the audio thread reads them via load() with zero allocations and zero locks. Relaxed ordering is sufficient because parameter updates are not synchronization points; a one-block delay in propagation is acceptable.

Structs§

AtomicParameterBridge
Lock-free bridge for passing parameter values from the WebSocket thread to the audio thread.