#sample-rate #ffi #c #libsamplerate

sys libsamplerate-sys

FFI bindings for libsamplerate

13 releases

Uses old Rust 2015

0.1.12 May 10, 2022
0.1.11 May 10, 2022
0.1.10 Jan 14, 2021
0.1.9 Nov 19, 2020
0.1.3 Oct 29, 2018

#849 in Audio

Download history 3215/week @ 2024-07-29 3578/week @ 2024-08-05 2533/week @ 2024-08-12 5807/week @ 2024-08-19 5940/week @ 2024-08-26 6507/week @ 2024-09-02 5787/week @ 2024-09-09 4778/week @ 2024-09-16 5294/week @ 2024-09-23 7086/week @ 2024-09-30 8127/week @ 2024-10-07 7549/week @ 2024-10-14 6242/week @ 2024-10-21 8601/week @ 2024-10-28 8268/week @ 2024-11-04 5863/week @ 2024-11-11

29,699 downloads per month
Used in 6 crates (via samplerate)

BSD-2-Clause

4MB
2K SLoC

C 1.5K SLoC // 0.1% comments Rust 270 SLoC // 0.0% comments Shell 16 SLoC // 0.6% comments

libsamplerate-sys

Rust bindings for libsamplerate.

Will build libsamplerate from source. Don't forget to initialize git submodules (git submodule update --init) or clone with --recursive.

To conform with the -sys naming scheme, this project does not provide any higher level API.

The bindings have been auto-generated with bindgen:

bindgen wrapper.h --no-layout-tests -o src/bindings.rs

No runtime deps