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

Stabilityprovisional
MaintainerHenning Thielemann
Safe HaskellNone

Sound.ALSA.Sequencer.Port

Description

This module contains functions for working with ports. Reference: http://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_port.html

Synopsis

Documentation

newtype T Source

Constructors

Cons Word8 

Instances

create :: T mode -> T -> IO ()Source

Create a new port, as described by the info structure.

createSimple :: T mode -> String -> Cap -> Type -> IO TSource

Create a port - simple version.

delete :: T mode -> T -> IO ()Source

Delete the port.

deleteSimple :: T mode -> T -> IO ()Source

Delete the port.

withSimple :: T mode -> String -> Cap -> Type -> (T -> IO a) -> IO aSource

type Cap = T CUInt CapabilityFlagSource

Port capabilities.

type Type = T CUInt TypeFlagSource

Port types.