MCPcopy Create free account
hub / github.com/PerroEngine/Perro / mic_stop

Method mic_stop

perro_source/runtime_project/perro_runtime/src/rs_ctx/mic.rs:13–15  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

11 self.mic
12 .lock()
13 .map_err(|_| "mic mutex poisoned".to_string())?
14 .start(settings)
15 }
16
17 fn mic_stop(&self) -> Option<MicClip> {
18 self.mic.lock().ok()?.stop()

Callers 1

stop_listeningMethod · 0.80

Calls 2

okMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected