Crate webrtc_audio_processing

Source
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.
EchoCancellation
Echo cancellation configuration.
Error
Represents an error inside webrtc::AudioProcessing. See the documentation of webrtc::AudioProcessing::Error for further details.
GainControl
Gain control configuration.
InitializationConfig
A configuration used only when initializing a Processor.
NoiseSuppression
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 the Processor in multi-threaded application.
Stats
Statistics about the processor state.
VoiceDetection
Voice detection configuration.

Enums§

EchoCancellationSuppressionLevel
A level of non-linear suppression during AEC (aka NLP).
GainControlMode
Mode of gain control.
NoiseSuppressionLevel
A level of noise suppression.
VoiceDetectionLikelihood
The sensitivity of the noise detector.

Constants§

NUM_SAMPLES_PER_FRAME
The number of expected samples per frame.