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

Method stop

perro_source/audio_stack/perro_pawdio/src/mic.rs:559–574  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

557 }
558 }
559 Self::Mono => 1,
560 Self::Device => channels,
561 }
562 }
563}
564
565/// Input device reported by the capture backend.
566#[derive(Clone, Debug, Default, PartialEq, Eq)]
567pub struct MicDevice {
568 /// Backend name. Selection key for [`MicSettings::device`].
569 pub name: String,
570 /// Menu label. Same as `name`, suffixed when two devices share a name.
571 pub label: String,
572 pub is_default: bool,
573 /// Default capture rate, `0` when the backend does not report one.
574 pub sample_rate: u32,
575 /// Default channel count, `0` when the backend does not report one.
576 pub channels: u16,
577}

Callers 8

stop_rumbleMethod · 0.45
mic_stopMethod · 0.45
play_sourceMethod · 0.45
stop_sourceMethod · 0.45
stop_matchMethod · 0.45
stop_playbackMethod · 0.45
stop_allMethod · 0.45
stop_busMethod · 0.45

Calls 3

sendMethod · 0.80
clip_from_stateMethod · 0.80
is_listeningMethod · 0.45

Tested by

no test coverage detected