Skip to main content

start_mic_capture

Function start_mic_capture 

Source
pub async fn start_mic_capture(mic_id: String)
Expand description

Async helper: kick off start_mic_capture for the given mic id.

Failures are silently swallowed — the picker UX reads back the effect via mic_status (and, in a follow-up, via the audio-levels event when the meter wires up). The IPC layer’s re-entrant contract (M-MIC.1) means calling this with a new id while an older session is running cleanly tears down the previous pipeline.