A wrapper around PulseAudio's repackaging of WebRTC's AudioProcessing module.
See examples/simple.rs
for an example of how to use this crate.
bundled
- Build webrtc-audio-procesing
from the included C++ codederive_serde
- Derive serialize
and deserialize
traits for Serde useBy default the build will attempt to dynamically link with the library installed via your OS's package manager.
You can specify an include path yourself by setting the environment variable WEBRTC_AUDIO_PROCESSING_INCLUDE
.
sh
sudo apt install webrtc-audio-processing-dev # Ubuntu/Debian
sudo pacman -S webrtc-audio-processing # Arch
Building from source and static linking can be enabled with the bundled
feature flag. You need the following tools to build from source:
clang
or gcc
autotools
libtoolize
(typically glibtoolize
on MacOS)