Overview of alsa-rs capabilities
masterThe alsa crate provides thin, safe Rust wrappers for the ALSA (Advanced Linux Sound Architecture) library. While the library is still evolving, it currently supports the following core audio functionalities:
- Audio Playback: Managed via the
pcmmodule. - Audio Recording
- Mixer controls
- HCtl API: Includes JACK detection (see
hctlmodule docs). - Raw MIDI and UMP
- MIDI sequencer
- Ctl API
- Device name hints: Managed via the
device_namemodule. - Enumerations: Iterators for cards, devices, and other entities.
- Polling/Waiting: Support for non-blocking operations across most APIs.