Crate audio_device[][src]

A library for interacting with audio devices.

This is intended to provide both blocking and non-blocking idiomatic audio drivers for all tier 1 platforms and systems (see list below).

The sole aim of this crate is to provide idiomatic low level audio interface drivers that can be used independently of the larger system. If all you need is WASAPI or ALSA, then that is all you pay for and you should have a decent Rust-idiomatic programming experience.

This also makes use of the core traits provided by the audio-core crate.

Examples

Support

Supported tier 1 platforms and systems are the following:

PlatformSystemBlockingAsync
WindowsWASAPIwipwip
LinuxALSAwipwip

Modules

alsa

An idiomatic Rust ALSA interface.

driver

If any available, this provides handles for various forms of asynchronous drivers that can be used in combination with audio interfaces.

libc

libc specifics

unix

Unix-specific types and definitions.

wasapi

An idiomatic Rust WASAPI interface.

windows

Shared helpers for windows programming.