alsa-seq-0.6.0.7: 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 #

data Type #

Constructors

Read 
Write 

Instances

Enum Type # 

Methods

succ :: Type -> Type #

pred :: Type -> Type #

toEnum :: Int -> Type #

fromEnum :: Type -> Int #

enumFrom :: Type -> [Type] #

enumFromThen :: Type -> Type -> [Type] #

enumFromTo :: Type -> Type -> [Type] #

enumFromThenTo :: Type -> Type -> Type -> [Type] #

Eq Type # 

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Ord Type # 

Methods

compare :: Type -> Type -> Ordering #

(<) :: Type -> Type -> Bool #

(<=) :: Type -> Type -> Bool #

(>) :: Type -> Type -> Bool #

(>=) :: Type -> Type -> Bool #

max :: Type -> Type -> Type #

min :: Type -> Type -> Type #

Show Type # 

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

copy #

Arguments

:: T

Destination

-> T

Source

-> IO () 

clone :: T -> IO T #

getClient :: T -> IO T #

getPort :: T -> IO T #

getRoot :: T -> IO T #

Set the client/port address of a query

getType :: T -> IO Type #

getAddr :: T -> IO T #

getQueue :: T -> IO T #

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

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

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

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

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

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

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

Queries the list of subscribers accessing a port