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

Stabilityprovisional
Safe HaskellNone

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

copySource

Arguments

:: T

Destination

-> T

Source

-> IO () 

clone :: T -> IO TSource

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

getTimeUpdate :: T -> IO BoolSource

Allocate an uninitialized object. (Not exported)

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

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

setQueue :: T -> T -> 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 TSource

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