43 releases (26 breaking)

Uses old Rust 2015

0.33.0 Nov 4, 2025
0.31.2 Sep 17, 2025
0.29.0 Jul 30, 2025
0.26.0 Feb 11, 2025
0.5.1 Mar 28, 2018

#69 in Audio

Download history 668/week @ 2025-09-03 445/week @ 2025-09-10 780/week @ 2025-09-17 902/week @ 2025-09-24 800/week @ 2025-10-01 292/week @ 2025-10-08 726/week @ 2025-10-15 643/week @ 2025-10-22 437/week @ 2025-10-29 360/week @ 2025-11-05 889/week @ 2025-11-12 626/week @ 2025-11-19 372/week @ 2025-11-26 889/week @ 2025-12-03 442/week @ 2025-12-10

1,804 downloads per month
Used in web-audio-api

ISC license

76KB
1.5K SLoC

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 for an example of extending libcubeb via implementing a cubeb backend in rust.

To get started, have a look at the StreamBuilder


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.

Dependencies

~2.5MB
~55K SLoC