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

Safe HaskellNone
LanguageHaskell2010

Sound.ALSA.Sequencer.Address

Synopsis

Documentation

data T Source #

Constructors

Cons 

Fields

Instances
Eq T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Address

Methods

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

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

Ord T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Address

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

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

Storable T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.Address

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

subscribers :: T Source #

The address of all subscribed ports.

parse Source #

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.