22 releases

Uses old Rust 2015

0.13.0 May 13, 2024
0.12.0 Jan 16, 2024
0.10.7 Dec 12, 2023
0.10.3 Oct 6, 2022
0.5.1 Mar 28, 2018

#70 in Build Utils

Download history 131/week @ 2024-04-03 110/week @ 2024-04-10 208/week @ 2024-04-17 292/week @ 2024-04-24 428/week @ 2024-05-01 407/week @ 2024-05-08 387/week @ 2024-05-15 316/week @ 2024-05-22 249/week @ 2024-05-29 146/week @ 2024-06-05 351/week @ 2024-06-12 172/week @ 2024-06-19 289/week @ 2024-06-26 460/week @ 2024-07-03 664/week @ 2024-07-10 500/week @ 2024-07-17

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

ISC license

73KB
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

~1.5MB
~31K SLoC