Crate audio_device[][src]

A library for interacting with audio devices.

The sole aim of this crate is to provide idiomatic low level audio interface drivers that can be used independently. 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 is part of the audio ecosystem and makes use of core traits provided by the audio-core crate.

Examples

Support

Supported tier 1 platforms and systems are the following:

PlatformSystemBlockingAsync
WindowsWASAPIwipwip
LinuxALSAwipwip

Modules

alsaalsa

An idiomatic Rust ALSA interface.

libcunix

libc specifics

runtime

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

unixunix

Unix-specific types and definitions.

wasapiwasapi

An idiomatic Rust WASAPI interface.

windowswindows

Shared helpers for windows programming.

Enums

Error

Audio runtime errors.

Type Definitions

Result

The re-exported error type.