Copyright | (c) Henning Thielemann, 2010-2012 (c) Iavor S. Diatchki, 2007 |
---|---|
License | BSD3 |
Maintainer | Henning Thielemann |
Stability | provisional |
Safe Haskell | None |
Language | Haskell2010 |
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 T Source
Set the information for the sequencer port based on the data in the given information area.
queryFirst :: T mode -> IO T Source
Get information about the first port on our client.
queryNext :: T mode -> T -> IO Bool 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 and True
is returned.
getCapability :: T -> IO Cap Source
getMidiChannels :: T -> IO Word Source
getMidiVoices :: T -> IO Word Source
getSynthVoices :: T -> IO Word Source
Copy the content of an object to a newly created object.
getPortSpecified :: T -> IO Bool Source
getTimestamping :: T -> IO Bool Source
Copy the content of one object into another.
getTimestampReal :: T -> IO Bool Source
getTimestampQueue :: T -> IO T Source
getReadUse :: T -> IO Word Source
getWriteUse :: T -> IO Word Source
setCapability :: T -> Cap -> IO () Source
setMidiChannels :: T -> Word -> IO () Source
setSynthVoices :: T -> Word -> IO () Source
setMidiVoices :: T -> Word -> IO () Source
setPortSpecified :: T -> Bool -> IO () Source
setTimestamping :: T -> Bool -> IO () Source
setTimestampReal :: T -> Bool -> IO () Source
setTimestampQueue :: T -> T -> IO () Source
Set the port address.