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.Client

Description

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

Synopsis

Documentation

newtype T Source #

The type of client identifiers.

Constructors

Cons Word8 
Instances
Eq T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Client

Methods

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

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

Ord T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Client

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.Client

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

Storable T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Client

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 () #

getId :: T mode -> IO T Source #

Get the client identifier for the sequencer. A convinience function.

setName :: T mode -> String -> IO () Source #

Set the name for the sequencer client. A convinience function.

data Type Source #

The different types of clients.

Constructors

User 
Kernel