#sample-rate #resampling

libsamplerate

A pure C2Rust transpiled version of libsamplerate

1 unstable release

0.1.0 Jul 12, 2019

#906 in Audio

Download history 53/week @ 2024-11-15 73/week @ 2024-11-22 140/week @ 2024-11-29 119/week @ 2024-12-06 149/week @ 2024-12-13 92/week @ 2024-12-20 68/week @ 2024-12-27 87/week @ 2025-01-03 185/week @ 2025-01-10 178/week @ 2025-01-17 221/week @ 2025-01-24 403/week @ 2025-01-31 152/week @ 2025-02-07 202/week @ 2025-02-14 235/week @ 2025-02-21 169/week @ 2025-02-28

814 downloads per month
Used in samplerate-rs

BSD-2-Clause AND MIT

27MB
368K SLoC

rust-libsamplerate

libsamplerate is a pure C2Rust-transpiled version of libsamplerate. This should be a drop-in replacement to libsamplerate-sys.

#[no_std]

The project should be relatively simple to port to no_std. If you require that feature, please start an issue.


lib.rs:

libsamplerate is a C2Rust-transpiled version of the original libsamplerate. Therefore, it's a pure (albeit not necessarily memory-safe) Rust version of the library. No dealing with build hassles, no dealing with C.

The interface is nearly identical to libsamplerate-rust, and should be a drop-in replacement.

Dependencies