Crate alsarawmidi

source
Expand description

§alsarawmidi crate

Rust API 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 crate is automatically generated by gir tool provided by gtk-rs project. ALSARawmidi-0.0 file from alsarawmidi library is used for the generation. But some functions are implemented manually.

§Usage

Add the following line to your Cargo.toml file:

[dependencies]
alsarawmidi = "0.7"

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

§License

The alsarawmidi crate is released under MIT license.

§Dependency

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

§Repository

The alsarawmidi 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§

Modules§

  • For convenience to provide auto-generated/manual traits, and their blanket implementations.
  • For subclass implementations derived from provided class.

Structs§

  • GObject-derived object to express a pair of Rawmidi stream.
  • A set of flags for information of the pair of streams.
  • A GObject-derived object to express information of substream.
  • A GObject-derived object to express parameters of substream.
  • A GObject-derived object to express status of substream.

Enums§

Functions§

  • Get the list of numeric identifier for available rawmidi devices of sound card.
  • Allocate devnode string for rawmidi device and return it when exists.
  • Allocate sysname for rawmidi device and return it when it exists.
  • Get the list of numeric identifier for subdevices belongs to the numerical identifier of card, device, and the direction.
  • Get the information of substream pointed by the numeric identifier of card, device, subdevice, and the direction.