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

Method process_i16

perro_source/audio_stack/perro_pawdio/src/mic.rs:424–427  ·  view source on GitHub ↗
(&mut self, sample: i16)

Source from the content-addressed store, hash-verified

422fn unzigzag_i16(value: u16) -> i16 {
423 ((value >> 1) as i16) ^ (-((value & 1) as i16))
424}
425
426#[derive(Clone, Debug)]
427pub struct MicSettings {
428 pub max_seconds: f32,
429 pub denoise: MicDenoiseSettings,
430 /// Backend device name from [`mic_devices`]. `None` or blank picks the OS default.

Callers 3

denoisedMethod · 0.80
push_i16Function · 0.80
push_u16Function · 0.80

Calls 1

process_f32Method · 0.80

Tested by

no test coverage detected