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

Copyright(c) Henning Thielemann 2010-2012
(c) Iavor S. Diatchki 2007
LicenseBSD3
MaintainerHenning Thielemann
Stabilityprovisional
Safe HaskellNone
LanguageHaskell2010

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

data T Source #

Instances

C T Source # 

Methods

init :: T -> IO () Source #

next :: T mode -> T -> IO Bool Source #

get :: T mode -> T -> IO T Source #

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

getAny :: T mode -> T -> T -> IO T Source #

queryFirst :: T mode -> IO T Source #

Get information about the first port on our client.

queryNext :: T mode -> T -> IO Bool 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 and True is returned.

queryLoop_ :: T mode -> T -> (T -> IO ()) -> IO () Source #

queryLoop :: T mode -> T -> (T -> IO a) -> IO [a] Source #

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

copy Source #

Arguments

:: T

Destination

-> T

Source

-> IO () 

clone :: T -> IO T Source #

getSynthVoices :: T -> IO Word Source #

Copy the content of an object to a newly created object.

getTimestamping :: T -> IO Bool Source #

Copy the content of one object into another.

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

setClient :: T -> T -> IO () Source #

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

setName :: T -> String -> IO () Source #

setTimestampQueue :: T -> T -> IO () Source #

Set the port address.