#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

#560 in Audio

Download history 5203/week @ 2023-12-06 3378/week @ 2023-12-13 3229/week @ 2023-12-20 4615/week @ 2023-12-27 2835/week @ 2024-01-03 3457/week @ 2024-01-10 3255/week @ 2024-01-17 3073/week @ 2024-01-24 4135/week @ 2024-01-31 5902/week @ 2024-02-07 2725/week @ 2024-02-14 2021/week @ 2024-02-21 2773/week @ 2024-02-28 2585/week @ 2024-03-06 3167/week @ 2024-03-13 4153/week @ 2024-03-20

13,007 downloads per month
Used in 5 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