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

Stabilityprovisional
Safe HaskellNone

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

Instances

C T 

data Type Source

Constructors

Read 
Write 

Instances

copySource

Arguments

:: T

Destination

-> T

Source

-> IO () 

getRoot :: T -> IO TSource

Set the client/port address of a query

setPort :: T -> T -> 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