Expand description
§alsarawmidi-sys crate
Rust FFI bindings and wrappers for alsarawmidi library to operate ALSA Rawmidi character device.
The alsarawmidi library version 0.3.0 is the minimum supported version for underlying library.
The alsarawmidi-sys crate is automatically generated by gir tool provided by gtk-rs project. ALSARawmidi-0.0 file from alsarawmidi library is used for the generation.
§License
The alsarawmidi-sys crate is released under MIT license.
§Dependency
The alsarawmidi-sys crate depends on FFI crates provided by gtk-rs project for type/object system, event loop, and dispacher.
§Repository
The alsarawmidi-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
Rawmidi Stream Pair - ALSA
Rawmidi Stream Pair Class - ALSA
Rawmidi Substream Info - ALSA
Rawmidi Substream Info Class - ALSA
Rawmidi Substream Params - ALSA
Rawmidi Substream Params Class - ALSA
Rawmidi Substream Status - ALSA
Rawmidi Substream Status Class
Constants§
- ALSARAWMIDI_
STREAM_ DIRECTION_ INPUT - ALSARAWMIDI_
STREAM_ DIRECTION_ OUTPUT - ALSARAWMIDI_
STREAM_ PAIR_ ERROR_ DISCONNECTED - ALSARAWMIDI_
STREAM_ PAIR_ ERROR_ FAILED - ALSARAWMIDI_
STREAM_ PAIR_ ERROR_ UNREADABLE - ALSARAWMIDI_
STREAM_ PAIR_ INFO_ FLAG_ DUPLEX - ALSARAWMIDI_
STREAM_ PAIR_ INFO_ FLAG_ INPUT - ALSARAWMIDI_
STREAM_ PAIR_ INFO_ FLAG_ OUTPUT
Functions§
- alsarawmidi_
get_ ⚠device_ id_ list - alsarawmidi_
get_ ⚠rawmidi_ devnode - alsarawmidi_
get_ ⚠rawmidi_ sysname - alsarawmidi_
get_ ⚠subdevice_ id_ list - alsarawmidi_
get_ ⚠substream_ info - alsarawmidi_
stream_ ⚠direction_ get_ type - alsarawmidi_
stream_ ⚠pair_ create_ source - alsarawmidi_
stream_ ⚠pair_ drain_ substream - alsarawmidi_
stream_ ⚠pair_ drop_ substream - alsarawmidi_
stream_ ⚠pair_ error_ get_ type - alsarawmidi_
stream_ ⚠pair_ error_ quark - alsarawmidi_
stream_ ⚠pair_ get_ protocol_ version - alsarawmidi_
stream_ ⚠pair_ get_ substream_ info - alsarawmidi_
stream_ ⚠pair_ get_ substream_ status - alsarawmidi_
stream_ ⚠pair_ get_ type - alsarawmidi_
stream_ ⚠pair_ info_ flag_ get_ type - alsarawmidi_
stream_ ⚠pair_ new - alsarawmidi_
stream_ ⚠pair_ open - alsarawmidi_
stream_ ⚠pair_ read_ from_ substream - alsarawmidi_
stream_ ⚠pair_ set_ substream_ params - alsarawmidi_
stream_ ⚠pair_ write_ to_ substream - alsarawmidi_
substream_ ⚠info_ get_ type - alsarawmidi_
substream_ ⚠params_ get_ type - alsarawmidi_
substream_ ⚠params_ new - alsarawmidi_
substream_ ⚠status_ get_ type - alsarawmidi_
substream_ ⚠status_ new