Expand description
§alsatimer-sys crate
Rust FFI bindings and wrappers for alsatimer library to operate ALSA Timer character device.
The alsatimer library version 0.3.0 is the minimum supported version for underlying library.
The alsatimer-sys crate is automatically generated by gir tool provided by gtk-rs project. ALSATimer-0.0 file from alsatimer library is used for the generation.
§License
The alsatimer-sys crate is released under MIT license.
§Dependency
The alsatimer-sys crate depends on FFI crates provided by gtk-rs project for type/object system, event loop, and dispacher.
§Repository
The alsatimer-sys 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.
Structs§
- ALSA
Timer Device Id - ALSA
Timer Device Info - ALSA
Timer Device Info Class - ALSA
Timer Device Params - ALSA
Timer Device Params Class - ALSA
Timer Device Status - ALSA
Timer Device Status Class - ALSA
Timer Instance Info - ALSA
Timer Instance Info Class - ALSA
Timer Instance Params - ALSA
Timer Instance Params Class - ALSA
Timer Instance Status - ALSA
Timer Instance Status Class - ALSA
Timer Real Time Event - ALSA
Timer Tick Time Event - ALSA
Timer User Instance - ALSA
Timer User Instance Class
Constants§
- ALSATIMER_
CLASS_ CARD - ALSATIMER_
CLASS_ GLOBAL - ALSATIMER_
CLASS_ NONE - ALSATIMER_
CLASS_ PCM - ALSATIMER_
DEVICE_ INFO_ FLAG_ SLAVE - ALSATIMER_
EVENT_ TYPE_ REAL_ TIME - ALSATIMER_
EVENT_ TYPE_ TICK_ TIME - ALSATIMER_
INSTANCE_ PARAM_ FLAG_ AUTO - ALSATIMER_
INSTANCE_ PARAM_ FLAG_ EARLY_ EVENT - ALSATIMER_
INSTANCE_ PARAM_ FLAG_ EXCLUSIVE - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ CONTINUE - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ EARLY - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ MCONTINUE - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ MPAUSE - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ MRESUME - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ MSTART - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ MSTOP - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ MSUSPEND - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ PAUSE - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ RESOLUTION - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ RESUME - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ START - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ STOP - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ SUSPEND - ALSATIMER_
REAL_ TIME_ EVENT_ TYPE_ TICK - ALSATIMER_
SLAVE_ CLASS_ APPLICATION - ALSATIMER_
SLAVE_ CLASS_ NONE - ALSATIMER_
SLAVE_ CLASS_ SEQUENCER - ALSATIMER_
SPECIFIC_ GLOBAL_ DEVICE_ HRTIMER - ALSATIMER_
SPECIFIC_ GLOBAL_ DEVICE_ SYSTEM - ALSATIMER_
USER_ INSTANCE_ ERROR_ ATTACHED - ALSATIMER_
USER_ INSTANCE_ ERROR_ FAILED - ALSATIMER_
USER_ INSTANCE_ ERROR_ NOT_ ATTACHED - ALSATIMER_
USER_ INSTANCE_ ERROR_ TIMER_ NOT_ FOUND
Functions§
- alsatimer_
class_ ⚠get_ type - alsatimer_
device_ ⚠id_ get_ card_ id - alsatimer_
device_ ⚠id_ get_ class - alsatimer_
device_ ⚠id_ get_ device_ id - alsatimer_
device_ ⚠id_ get_ subdevice_ id - alsatimer_
device_ ⚠id_ get_ type - alsatimer_
device_ ⚠id_ new - alsatimer_
device_ ⚠info_ flag_ get_ type - alsatimer_
device_ ⚠info_ get_ type - alsatimer_
device_ ⚠params_ get_ type - alsatimer_
device_ ⚠params_ new - alsatimer_
device_ ⚠status_ get_ type - alsatimer_
device_ ⚠status_ new - alsatimer_
event_ ⚠type_ get_ type - alsatimer_
get_ ⚠device_ id_ list - alsatimer_
get_ ⚠device_ info - alsatimer_
get_ ⚠device_ status - alsatimer_
get_ ⚠devnode - alsatimer_
get_ ⚠real_ time_ clock_ id - alsatimer_
get_ ⚠sysname - alsatimer_
instance_ ⚠info_ get_ type - alsatimer_
instance_ ⚠param_ flag_ get_ type - alsatimer_
instance_ ⚠params_ get_ event_ filter - alsatimer_
instance_ ⚠params_ get_ type - alsatimer_
instance_ ⚠params_ new - alsatimer_
instance_ ⚠params_ set_ event_ filter - alsatimer_
instance_ ⚠status_ get_ time - alsatimer_
instance_ ⚠status_ get_ type - alsatimer_
instance_ ⚠status_ new - alsatimer_
real_ ⚠time_ event_ get_ event - alsatimer_
real_ ⚠time_ event_ get_ time - alsatimer_
real_ ⚠time_ event_ get_ type - alsatimer_
real_ ⚠time_ event_ get_ val - alsatimer_
real_ ⚠time_ event_ type_ get_ type - alsatimer_
set_ ⚠device_ params - alsatimer_
slave_ ⚠class_ get_ type - alsatimer_
specific_ ⚠global_ device_ get_ type - alsatimer_
tick_ ⚠time_ event_ get_ count - alsatimer_
tick_ ⚠time_ event_ get_ resolution - alsatimer_
tick_ ⚠time_ event_ get_ type - alsatimer_
user_ ⚠instance_ attach - alsatimer_
user_ ⚠instance_ attach_ as_ slave - alsatimer_
user_ ⚠instance_ choose_ event_ type - alsatimer_
user_ ⚠instance_ continue - alsatimer_
user_ ⚠instance_ create_ source - alsatimer_
user_ ⚠instance_ error_ get_ type - alsatimer_
user_ ⚠instance_ error_ quark - alsatimer_
user_ ⚠instance_ get_ info - alsatimer_
user_ ⚠instance_ get_ protocol_ version - alsatimer_
user_ ⚠instance_ get_ status - alsatimer_
user_ ⚠instance_ get_ type - alsatimer_
user_ ⚠instance_ new - alsatimer_
user_ ⚠instance_ open - alsatimer_
user_ ⚠instance_ pause - alsatimer_
user_ ⚠instance_ set_ params - alsatimer_
user_ ⚠instance_ start - alsatimer_
user_ ⚠instance_ stop