#audio #resampler

speexdsp

Bindings for the speexdsp library

3 releases

0.1.2 Apr 28, 2022
0.1.1 May 9, 2018
0.1.0 May 9, 2018

#162 in Audio

MIT license

76KB
2K SLoC

speexdsp bindings and c2rust version

LICENSE Actions Status dependency status IRC

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 and libclang installed.
  • Make sure the speexdsp C headers and pkg-config files are installed.

TODO

  • Source build speexdsp
  • Simple bindings
  • Safe abstraction
  • 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

Dependencies

~86KB