Skip to main content

subscribe_system_audio_level

Function subscribe_system_audio_level 

Source
pub fn subscribe_system_audio_level(handler: impl Fn(f32) + 'static)
Expand description

Subscribe to the system-audio-level Tauri event (M-AUDIO.METER / AUT-287) emitted by the SCK delegate at the stream’s natural buffer rate (~20-100 Hz). Handler receives an EMA-smoothed master-stream RMS in [0.0, ~1.0]. Mirror of crate::mic_ipc::subscribe_mic_level.