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.7"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§
- prelude
- For convenience to provide auto-generated/manual traits, and their blanket implementations.
- subclass
- For subclass implementations derived from provided class.
Structs§
- Device
Common - An interface to express common features of ALSA HwDep device.
- Device
Info - A GObject-derived object to express information of ALSA hwdep device.
Enums§
- Device
Common Error - A set of enumerations for code of ALSAHwDep.DeviceCommonError error domain.
- Iface
Type - A set of enumerations for the interface of hwdep device.
Functions§
- device_
id_ list - Get the list of numeric ID for available hwdep devices of sound card.
- device_
info - Get the information according to given numeric IDs for card and device.
- hwdep_
devnode - Allocate devnode string for hwdep device and return it when exists.
- hwdep_
sysname - Allocate sysname for hwdep device and return it when it exists.