Stability | provisional |
---|---|
Maintainer | Henning Thielemann |
Safe Haskell | None |
This module contains functions for working with ports. Reference: http://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_port.html
- type T = PortInfo
- get :: T mode -> T -> IO T
- getAny :: T mode -> T -> T -> IO T
- queryFirst :: T mode -> IO T
- queryNext :: T mode -> T -> IO ()
- set :: T mode -> T -> T -> IO ()
- copy :: T -> T -> IO ()
- clone :: T -> IO T
- getPort :: T -> IO T
- getClient :: T -> IO T
- getAddr :: T -> IO T
- getName :: T -> IO String
- getCapability :: T -> IO Cap
- getMidiChannels :: T -> IO Word
- getMidiVoices :: T -> IO Word
- getSynthVoices :: T -> IO Word
- getPortSpecified :: T -> IO Bool
- getTimestamping :: T -> IO Bool
- getTimestampReal :: T -> IO Bool
- getTimestampQueue :: T -> IO T
- getReadUse :: T -> IO Word
- getWriteUse :: T -> IO Word
- setPort :: T -> T -> IO ()
- setClient :: T -> T -> IO ()
- setAddr :: T -> T -> IO ()
- setName :: T -> String -> IO ()
- setCapability :: T -> Cap -> IO ()
- setMidiChannels :: T -> Word -> IO ()
- setSynthVoices :: T -> Word -> IO ()
- setMidiVoices :: T -> Word -> IO ()
- setPortSpecified :: T -> Bool -> IO ()
- setTimestamping :: T -> Bool -> IO ()
- setTimestampReal :: T -> Bool -> IO ()
- setTimestampQueue :: T -> T -> IO ()
Documentation
get :: T mode -> T -> IO TSource
Create a new information area filled with data about a specific port on our client.
getAny :: T mode -> T -> T -> IO TSource
Create a new information area filled with data about an given port on a given client.
queryFirst :: T mode -> IO TSource
Get information about the first port on our client.
queryNext :: T mode -> T -> IO ()Source
Get information about the port with the next biggest identifier. If a matching port is found, then its information is stored in the given area, otherwise we throw an error.
set :: T mode -> T -> T -> IO ()Source
Set the information for the sequencer port based on the data in the given information area.
getCapability :: T -> IO CapSource
getMidiChannels :: T -> IO WordSource
getMidiVoices :: T -> IO WordSource
getSynthVoices :: T -> IO WordSource
getPortSpecified :: T -> IO BoolSource
getTimestamping :: T -> IO BoolSource
getTimestampReal :: T -> IO BoolSource
getTimestampQueue :: T -> IO TSource
getReadUse :: T -> IO WordSource
getWriteUse :: T -> IO WordSource