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

Copyright(c) Henning Thielemann, 2010 (c) Iavor S. Diatchki, 2007
LicenseBSD3
MaintainerHenning Thielemann
Stabilityprovisional
Safe HaskellNone
LanguageHaskell2010

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 

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

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

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

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 a Source

type Cap = T CUInt CapabilityFlag Source

Port capabilities.

caps :: [Cap] -> Cap Source

type Type = T CUInt TypeFlag Source

Port types.