alsa-seq-0.6.0.9: Binding to the ALSA Library API (MIDI sequencer).
Copyright(c) Henning Thielemann 2012
(c) Dylan Simon 2011
LicenseBSD3
Stabilityprovisional
Safe HaskellSafe-Inferred
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

Instances details
Enum Type Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Subscribe.Query

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

Show Type Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Subscribe.Query

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Eq Type Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Subscribe.Query

Methods

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

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

Ord Type Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Subscribe.Query

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 #

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