22 releases

Uses old Rust 2015

new 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

#67 in Build Utils

Download history 128/week @ 2024-01-25 127/week @ 2024-02-01 152/week @ 2024-02-08 106/week @ 2024-02-15 264/week @ 2024-02-22 118/week @ 2024-02-29 142/week @ 2024-03-07 90/week @ 2024-03-14 70/week @ 2024-03-21 172/week @ 2024-03-28 122/week @ 2024-04-04 152/week @ 2024-04-11 174/week @ 2024-04-18 282/week @ 2024-04-25 466/week @ 2024-05-02 329/week @ 2024-05-09

1,314 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