alsa-seq-0.5.1.1: 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

type T = QuerySubscribeSource

data Type Source

Constructors

Read 
Write 

Instances

getRoot :: T -> IO TSource

Get the client/port address of a query

getAddr :: T -> IO TSource

Get the address of subscriber of query

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