34 releases (20 breaking)

Uses old Rust 2015

0.27.0 Apr 1, 2025
0.26.0 Feb 11, 2025
0.25.0 Feb 11, 2025
0.20.0 Dec 10, 2024
0.5.1 Mar 28, 2018

#718 in Rust patterns

Download history 293/week @ 2025-01-08 302/week @ 2025-01-15 350/week @ 2025-01-22 369/week @ 2025-01-29 1152/week @ 2025-02-05 810/week @ 2025-02-12 738/week @ 2025-02-19 386/week @ 2025-02-26 367/week @ 2025-03-05 375/week @ 2025-03-12 448/week @ 2025-03-19 504/week @ 2025-03-26 480/week @ 2025-04-02 560/week @ 2025-04-09 418/week @ 2025-04-16 525/week @ 2025-04-23

2,093 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