Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.36 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.36 KB

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