6 releases
| 0.3.0 | May 11, 2025 |
|---|---|
| 0.2.1 | May 11, 2025 |
| 0.2.0 | Oct 17, 2023 |
| 0.1.2 | Oct 15, 2023 |
#1453 in Audio
111 downloads per month
Used in 3 crates
(via soundtouch)
1MB
8K
SLoC
Contains (Windows DLL, 475KB) NAudio.dll, (Windows DLL, 150KB) SoundTouch.dll, (JAR file, 55KB) gradle-wrapper.jar, (obscure autoconf code, 11KB) soundtouch-2_3_2/configure.ac
soundtouch-ffi
Rust bindings to the SoundTouch C++ audio library.
There is already a soundtouch-sys crate, but it hasn't been updated in 5 years and doesn't use static linking so I made this one.
This crate also includes other structs in the library such as BPMDetect and FIFOSampleBuffer, which the sys crate is missing.
The version of SoundTouch bundled with this crate is 2.3.2 (latest as of October 2023).
If you're looking for a safe wrapper around these bindings I also made a crate for that: https://crates.io/crates/soundtouch.
Default Linking Behavior
This crate exposes the bundled and dynamic flags for overriding and configuring static and dynamic linking respectively. If neither flag is provided, then the following behavior is used for each platform.
| Platform | Default Linking |
|---|---|
| Linux & BSD (non-musl targets) | Dynamic |
| Linux (musl target) | Static (bundled) |
| macOS | Static (bundled) |
| Windows | Static (bundled) |
Dependencies
~0–2.2MB
~42K SLoC