28 releases (14 breaking)

Uses old Rust 2015

0.20.0 Dec 10, 2024
0.18.0 Nov 25, 2024
0.17.0 Nov 4, 2024
0.13.0 May 13, 2024
0.5.1 Mar 28, 2018

#78 in Audio

Download history 516/week @ 2024-10-07 478/week @ 2024-10-14 462/week @ 2024-10-21 848/week @ 2024-10-28 622/week @ 2024-11-04 426/week @ 2024-11-11 420/week @ 2024-11-18 671/week @ 2024-11-25 305/week @ 2024-12-02 506/week @ 2024-12-09 388/week @ 2024-12-16 9/week @ 2024-12-23 45/week @ 2024-12-30 217/week @ 2025-01-06 343/week @ 2025-01-13 249/week @ 2025-01-20

855 downloads per month
Used in web-audio-api

ISC license

76KB
1.5K SLoC

cubeb-rs

Build Status

Documentation

cubeb bindings for Rust

[dependencies]
cubeb = "0.1"

Building cubeb-rs

First, you'll need to install CMake. Afterwards, just run:

$ git clone https://github.com/djg/cubeb-rs
$ cd cubeb-rs
$ cargo build

License

cubeb-rs is distributed under an ISC-style license. See LICENSE for details.


lib.rs:

libcubeb bindings for rust

This library contains bindings to the cubeb C library which is used to interact with system audio. The library itself is a work in progress and is likely lacking documentation and test.

The cubeb-rs library exposes the user API of libcubeb. It doesn't expose the internal interfaces, so isn't suitable for extending libcubeb. See [cubeb-pulse-rs][2] for an example of extending libcubeb via implementing a cubeb backend in rust.

To get started, have a look at the StreamBuilder

Dependencies

~2.5MB
~57K SLoC