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

Safe HaskellNone

Sound.ALSA.Sequencer.Address

Synopsis

Documentation

data T Source

Constructors

Cons 

Fields

client :: !T
 
port :: !T
 

Instances

subscribers :: TSource

The address of all subscribed ports.

parseSource

Arguments

:: T mode

Sequencer handle.

-> String

String to be parsed.

-> IO T

The parsed address.

Parse the given string into sequencer address. The client and port are separated by either colon or period, e.g. 128:1. The function also accepts client names or prefixes thereof. Throws (Errno 2) exception if no client name matches.