Crate alsaseq

source ·
Expand description

§alsaseq crate

Rust API bindings and wrappers for alsaseq library to operate ALSA Sequencer character device.

The alsaseq library version 0.3.0 is the minimum supported version for underlying library.

The alsaseq crate is automatically generated by gir tool provided by gtk-rs project. ALSASeq-0.0 file from alsaseq library is used for the generation. But some functions are implemented manually.

§Usage

Add the following line to your Cargo.toml file:

[dependencies]
alsaseq = "0.6"

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

§License

The alsaseq crate is released under MIT license.

§Dependency

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

§Repository

The alsaseq 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.

§Sample programs

Some programs are available under examples directory.

  • dump-event-data.rs

    • demonstration to dump events received at port registered in ALSA Sequencer.

Re-exports§

Modules§

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

Structs§

  • A boxed object to express address in ALSA Sequencer.
  • A GObject-derived object to express information of client.
  • A GObject-derived object to express information of pool owned by client.
  • A boxed structure for sequencer event.
  • A boxed structure for container which includes batch of events.
  • A boxed object to express data of connect event.
  • A boxed object to express data of control event.
  • A boxed object to express data of note event.
  • A boxed object to express data of queue event.
  • A boxed object to express data of result event.
  • A set of flags for attributes of event filter.
  • A set of flags for the attributes of port.
  • A set of flags for the capabilities of port.
  • A GObject-derived object to express information of port.
  • A GObject-derived object to express information of queue.
  • A GObject-derived object to express status of queue.
  • A GObject-derived object to express tempo of queue.
  • An object to express queue timer specific to instance in ALSA Timer.
  • An interface to express common features of queue timer.
  • An object to express filter to remove scheduled event in queue.
  • A set of flags of the mode of removal event.
  • A GObject-derived object to express data for subscription between ports.
  • A GObject-derived object to express information of ALSA Sequencer.
  • A GObject-derived object to express user client.

Enums§

Functions§

  • Get the list of clients as the numeric identifier.
  • Get the information of client according to the numeric ID.
  • Get statistical information of memory pool for the given client.
  • Get the list of numeric identifiers for port added by the client.
  • Get the information of port in client.
  • Get the list of queue in ALSA Sequencer.
  • Get the information of queue, according to the numeric ID.
  • Get the information of queue, according to the name string.
  • Get current status of queue.
  • Allocate devnode string for ALSA Sequencer and return it when exists.
  • Allocate sysname string for ALSA sequencer and return it when exists.
  • Get the list of subscription for given address and query type.
  • Get information of ALSA Sequencer.