21 releases

Uses old Rust 2015

0.12.0 Jan 16, 2024
0.10.7 Dec 12, 2023
0.10.3 Oct 6, 2022
0.10.1 Jul 20, 2022
0.5.1 Mar 28, 2018

#67 in Build Utils

Download history 103/week @ 2024-01-02 101/week @ 2024-01-09 219/week @ 2024-01-16 175/week @ 2024-01-23 121/week @ 2024-01-30 146/week @ 2024-02-06 104/week @ 2024-02-13 249/week @ 2024-02-20 152/week @ 2024-02-27 120/week @ 2024-03-05 123/week @ 2024-03-12 58/week @ 2024-03-19 137/week @ 2024-03-26 154/week @ 2024-04-02 95/week @ 2024-04-09 187/week @ 2024-04-16

584 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

~1MB
~30K SLoC