| Crates.io | soundtouch-ffi |
| lib.rs | soundtouch-ffi |
| version | 0.3.0 |
| created_at | 2023-10-14 22:50:13.422523+00 |
| updated_at | 2025-05-11 22:35:33.219015+00 |
| description | Rust bindings to the SoundTouch C++ audio library. |
| homepage | |
| repository | https://github.com/Cyanistic/soundtouch-ffi |
| max_upload_size | |
| id | 1003328 |
| size | 1,542,692 |
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.
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) |