alsactl

Crates.ioalsactl
lib.rsalsactl
version0.7.0
sourcesrc
created_at2022-07-07 13:17:01.142486
updated_at2024-10-07 00:11:42.019331
descriptionAPI binding for alsactl library
homepagehttps://alsa-project.github.io/gobject-introspection-docs/
repositoryhttps://github.com/alsa-project/alsa-gobject-rs
max_upload_size
id621162
size145,576
GObject Introspection (github:alsa-project:gobject-introspection)

documentation

https://docs.rs/alsactl/

README

alsactl crate

Rust API bindings and wrappers for alsactl library to operate ALSA Control character device.

The alsactl library version 0.3.0 is the minimum supported version for underlying library.

The alsactl crate is automatically generated by gir tool provided by gtk-rs project. ALSACtl-0.0 file from alsactl library is used for the generation. But some functions are implemented manually.

Usage

Add the following line to your Cargo.toml file:

[dependencies]
alsactl = "0.7"

The API documentation is available in https://docs.rs/alsactl/.

License

The alsactl crate is released under MIT license.

Dependency

The alsactl crate depends on API crates provided by gtk-rs project for type/object system, event loop, and dispacher.

Repository

The alsactl crate is the part of ALSA project and maintained by ALSA gobject-introspection team. The remote repository is located in https://github.com/alsa-project/alsa-gobject-rs.

Support

If finding issue, please file it in https://github.com/alsa-project/alsa-gobject-rs.

Sample programs

Some programs are available under examples directory.

  • dump-elem-data.rs

    • demonstration to dump information and current values of elements available in a sound card.
Commit count: 249

cargo fmt