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

Copyright(c) Henning Thielemann, 2012 (c) Dylan Simon, 2011
LicenseBSD3
Stabilityprovisional
Safe HaskellNone
LanguageHaskell2010

Sound.ALSA.Sequencer.Subscribe.Query

Description

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

Synopsis

Documentation

data T Source

copy Source

Arguments

:: T

Destination

-> T

Source

-> IO () 

clone :: T -> IO T Source

getRoot :: T -> IO T Source

Set the client/port address of a query

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

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

setType :: T -> Type -> IO () Source

setIndex :: T -> Word -> IO () Source

query :: T mode -> T -> Type -> Word -> IO (Maybe T) Source

Queries a subscriber connected to (Write) or from (Read) a given address: query seq addr typ index

queryAll :: T mode -> T -> Type -> IO [T] Source

Queries the list of subscribers accessing a port