alsa-seq-0.6.0.8: 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 
Instances
Eq T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Port

Methods

(==) :: T -> T -> Bool #

(/=) :: T -> T -> Bool #

Ord T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Port

Methods

compare :: T -> T -> Ordering #

(<) :: T -> T -> Bool #

(<=) :: T -> T -> Bool #

(>) :: T -> T -> Bool #

(>=) :: T -> T -> Bool #

max :: T -> T -> T #

min :: T -> T -> T #

Show T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Port

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

Storable T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Port

Methods

sizeOf :: T -> Int #

alignment :: T -> Int #

peekElemOff :: Ptr T -> Int -> IO T #

pokeElemOff :: Ptr T -> Int -> T -> IO () #

peekByteOff :: Ptr b -> Int -> IO T #

pokeByteOff :: Ptr b -> Int -> T -> IO () #

peek :: Ptr T -> IO T #

poke :: Ptr T -> T -> IO () #

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.