Expand description
§alsahwdep crate
Rust API bindings and wrappers for alsahwdep library to operate ALSA HwDep character device.
The alsahwdep library version 0.3.0 is the minimum supported version for underlying library.
The alsahwdep crate is automatically generated by gir tool provided by gtk-rs project. ALSAHwdep-0.0 file from alsahwdep library is used for the generation. But some functions are implemented manually.
§Usage
Add the following line to your Cargo.toml file:
[dependencies]
alsahwdep = "0.6"
The API documentation is available in https://docs.rs/alsahwdep/.
§License
The alsahwdep crate is released under MIT license.
§Dependency
The alsahwdep crate depends on API crates provided by gtk-rs project for type/object system, event loop, and dispacher.
§Repository
The alsahwdep 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.
Re-exports§
pub use ffi;
Modules§
- For convenience to provide auto-generated/manual traits, and their blanket implementations.
- For subclass implementations derived from provided class.
Structs§
- An interface to express common features of ALSA HwDep device.
- A GObject-derived object to express information of ALSA hwdep device.
Enums§
- A set of enumerations for code of ALSAHwDep.DeviceCommonError error domain.
- A set of enumerations for the interface of hwdep device.
Functions§
- Get the list of numeric ID for available hwdep devices of sound card.
- Get the information according to given numeric IDs for card and device.
- Allocate devnode string for hwdep device and return it when exists.
- Allocate sysname for hwdep device and return it when it exists.