Skip to main content

microphone_open

Function microphone_open 

Source
pub fn microphone_open() -> i32
Expand description

Starts microphone capture (mono f32 ring buffer) after a host permission dialog.

Returns 0 on success. Negative codes: -1 denied, -2 no input device, -3 stream error.