speexdsp-rs
speexdsp-rs copied to clipboard
Speexdsp bindings and pure-rust implementation
speexdsp bindings and c2rust version
It is a simple safe abstraction based on speexdsp.
It is available as binding or as pure-rust implementation.
Building
By default the pure-rust implementation is used, optionally the simd-accelerated original
C version can be used instead using the feature sys
.
The bindings are generated using the headers and libraries that ought to be present in the system.
- Make sure you have
clang
andlibclang
installed. - Make sure the
speexdsp
C headers and pkg-config files are installed.
TODO
- [ ] Source build speexdsp
- [x] Simple bindings
- [x] Safe abstraction
- [x] Examples
- [ ] Clean pure-rust reimplementation
Testing
Currently we have only an integration test to compare the C and the Rust implementation. To run it issue:
$ cargo test --features=sys