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 Source #

data Type Source #

Constructors

Read 
Write 

Instances

Enum Type Source # 

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 Source # 

Methods

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

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

Ord Type Source # 

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 Source # 

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

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