alsa-seq-0.5.1: Binding to the ALSA Library API (MIDI sequencer).

Stabilityprovisional
MaintainerHenning Thielemann

Sound.ALSA.Sequencer.Port.Info

Description

This module contains functions for working with ports. Reference: http://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_port.html

Synopsis

Documentation

type T = PortInfoSource

get :: T mode -> T -> IO TSource

Create a new information area filled with data about a specific port on our client.

getAny :: T mode -> T -> T -> IO TSource

Create a new information area filled with data about an given port on a given client.

queryFirst :: T mode -> IO TSource

Get information about the first port on our client.

queryNext :: T mode -> T -> IO ()Source

Get information about the port with the next biggest identifier. If a matching port is found, then its information is stored in the given area, otherwise we throw an error.

set :: T mode -> T -> T -> IO ()Source

Set the information for the sequencer port based on the data in the given information area.

copy :: T -> T -> IO ()Source

getAddr :: T -> IO TSource

Get the address of the information area.

setPort :: T -> T -> IO ()Source

setAddr :: T -> T -> IO ()Source

Set the port address.