#sample-rate #resampling

libsamplerate

A pure C2Rust transpiled version of libsamplerate

1 unstable release

0.1.0 Jul 12, 2019

#966 in Audio

Download history 164/week @ 2024-07-19 70/week @ 2024-07-26 155/week @ 2024-08-02 194/week @ 2024-08-09 217/week @ 2024-08-16 195/week @ 2024-08-23 114/week @ 2024-08-30 84/week @ 2024-09-06 212/week @ 2024-09-13 226/week @ 2024-09-20 77/week @ 2024-09-27 87/week @ 2024-10-04 182/week @ 2024-10-11 130/week @ 2024-10-18 90/week @ 2024-10-25 48/week @ 2024-11-01

476 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