Expand description
This crate is a wrapper around PulseAudio’s repackaging of WebRTC’s AudioProcessing module.
See examples/simple.rs
for an example of how to use the library.
Structs§
- Config
- Config that can be used mid-processing.
- Echo
Cancellation - Echo cancellation configuration.
- Error
- Represents an error inside webrtc::AudioProcessing.
See the documentation of
webrtc::AudioProcessing::Error
for further details. - Gain
Control - Gain control configuration.
- Initialization
Config - A configuration used only when initializing a Processor.
- Noise
Suppression - Noise suppression configuration.
- Processor
Processor
provides an access to webrtc’s audio processing e.g. echo cancellation and automatic gain control. It can be cloned, and cloned instances share the same underlying processor module. It’s the recommended way to run theProcessor
in multi-threaded application.- Stats
- Statistics about the processor state.
- Voice
Detection - Voice detection configuration.
Enums§
- Echo
Cancellation Suppression Level - A level of non-linear suppression during AEC (aka NLP).
- Gain
Control Mode - Mode of gain control.
- Noise
Suppression Level - A level of noise suppression.
- Voice
Detection Likelihood - The sensitivity of the noise detector.
Constants§
- NUM_
SAMPLES_ PER_ FRAME - The number of expected samples per frame.