InputAudioProcessor

Trait InputAudioProcessor 

Source
pub trait InputAudioProcessor: Send {
    // Required method
    fn process_frame(&mut self, frame: &mut Vec<i16>);
}
Expand description

A per-frame processor applied to outgoing microphone audio inside LiveHandle::send_audio — the L1 seam the L2 voice chain (denoiser, noise gate) plugs into so hosted surfaces (web bridge, API server) get the same hardened path as native pumps. Runs on the send path: keep it fast and allocation-light.

Required Methods§

Source

fn process_frame(&mut self, frame: &mut Vec<i16>)

Process one PCM16 frame in place (the frame may change length).

Implementors§