#sample-rate #resampling

libsamplerate

A pure C2Rust transpiled version of libsamplerate

1 unstable release

0.1.0 Jul 12, 2019

#665 in Audio

Download history 73/week @ 2023-11-20 52/week @ 2023-11-27 60/week @ 2023-12-04 111/week @ 2023-12-11 137/week @ 2023-12-18 113/week @ 2023-12-25 140/week @ 2024-01-01 191/week @ 2024-01-08 146/week @ 2024-01-15 182/week @ 2024-01-22 153/week @ 2024-01-29 145/week @ 2024-02-05 153/week @ 2024-02-12 154/week @ 2024-02-19 144/week @ 2024-02-26 136/week @ 2024-03-04

605 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