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
- data T
- get :: T mode -> T -> IO T
- getAny :: T mode -> T -> T -> IO T
- queryFirst :: T mode -> IO T
- queryNext :: T mode -> T -> IO Bool
- queryLoop_ :: T mode -> T -> (T -> IO ()) -> IO ()
- queryLoop :: T mode -> T -> (T -> IO a) -> IO [a]
- 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
Set the information for the sequencer port based on the data in the given information area.
queryFirst :: T mode -> IO TSource
Get information about the first port on our client.
queryNext :: T mode -> T -> IO BoolSource
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 and True
is returned.
getCapability :: T -> IO CapSource
getMidiChannels :: T -> IO WordSource
getMidiVoices :: T -> IO WordSource
getSynthVoices :: T -> IO WordSource
Copy the content of an object to a newly created object.
getPortSpecified :: T -> IO BoolSource
getTimestamping :: T -> IO BoolSource
Copy the content of one object into another.
getTimestampReal :: T -> IO BoolSource
getTimestampQueue :: T -> IO TSource
getReadUse :: T -> IO WordSource
getWriteUse :: T -> IO WordSource