Registry / other / alsa
library0.11.0rscratesunverified

Thin but safe wrappers for ALSA (Linux sound API)

# Cargo.toml [dependencies] alsa = "0.11.0"
INSTALL
IMPORT
SIG · ALSA
A
alsa
otherrustv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PCM
use alsa::PCM;

Open and control ALSA audio devices.

use alsa::PCM; let pcm = PCM::new("default", alsa::Direction::Playback, false).unwrap(); println!("PCM opened successfully");
Debug
Known issues
gotchaLinux-only; requires ALSA development libraries.
fix
Install libasound2-dev on Debian/Ubuntu or alsa-lib-devel on Fedora.
affects: >=0.11.0
Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
61 hits · last 30 days
node
56
Meta
2
Amazon
1
OpenAI (training)
1
Resources
alsa — cargo add alsa · libregistry