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

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 #

copy Source #

Arguments

:: T

Destination

-> T

Source

-> IO () 

clone :: T -> IO T Source #

Copy the content of an object to a newly created object.

getTimeUpdate :: T -> IO Bool Source #

Allocate an uninitialized object. (Not exported)

setSender :: T -> T -> IO () Source #

setDest :: T -> T -> IO () Source #

setQueue :: T -> T -> IO () Source #

setTimeReal :: T -> Bool -> IO () Source #

subscribePort :: T mode -> T -> IO () Source #

Subscribe a port connection

unsubscribePort :: T mode -> T -> IO () Source #

create :: T -> T -> Bool -> Maybe (T, Bool) -> IO T Source #

subscribe :: T mode -> T -> T -> Bool -> Maybe (T, Bool) -> IO () Source #

Subscribe a port connection: subscribeSimple sender dest exclusive (Just (updatequeue, realtime))

unsubscribe :: T mode -> T -> T -> IO () Source #

Unsubscribe a port connection: unsubscribeSimple sender dest