44 releases (27 breaking)

Uses old Rust 2015

0.34.0 Jan 21, 2026
0.33.0 Nov 4, 2025
0.32.0 Nov 4, 2025
0.29.0 Jul 30, 2025
0.5.1 Mar 28, 2018

#59 in Audio

Download history 392/week @ 2025-11-25 756/week @ 2025-12-02 666/week @ 2025-12-09 361/week @ 2025-12-16 119/week @ 2025-12-23 252/week @ 2025-12-30 1268/week @ 2026-01-06 523/week @ 2026-01-13 549/week @ 2026-01-20 708/week @ 2026-01-27 463/week @ 2026-02-03 591/week @ 2026-02-10 568/week @ 2026-02-17 754/week @ 2026-02-24 3279/week @ 2026-03-03 8899/week @ 2026-03-10

13,548 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