Skip to main content

Crate wavecraft_metering

Crate wavecraft_metering 

Source
Expand description

Real-time safe metering for audio→UI communication.

Provides lock-free SPSC ring buffers for transferring peak/RMS meter data from the audio thread to the UI thread without allocations or blocking.

Structs§

MeterConsumer
Consumer side of meter channel (UI thread).
MeterFrame
Meter frame data for UI visualization.
MeterProducer
Producer side of meter channel (audio thread).

Functions§

create_meter_channel
Create a pair of meter producer/consumer with the given buffer capacity.