Stability | provisional |
---|---|
Maintainer | Iavor S. Diatchki |
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
- data Client
- client_unknown :: Client
- client_system :: Client
- client_subscribers :: Client
- client_broadcast :: Client
- get_client_id :: SndSeq -> IO Client
- set_client_name :: SndSeq -> String -> IO ()
- data ClientInfo
- data ClientType
- get_client_info :: SndSeq -> IO ClientInfo
- get_any_client_info :: SndSeq -> Client -> IO ClientInfo
- query_first_client :: SndSeq -> IO ClientInfo
- query_next_client :: SndSeq -> ClientInfo -> IO Bool
- set_client_info :: SndSeq -> ClientInfo -> IO ()
- client_info_copy :: ClientInfo -> ClientInfo -> IO ()
- client_info_clone :: ClientInfo -> IO ClientInfo
- client_info_get_client :: ClientInfo -> IO Client
- client_info_get_type :: ClientInfo -> IO ClientType
- client_info_get_name :: ClientInfo -> IO String
- client_info_get_broadcast_filter :: ClientInfo -> IO Bool
- client_info_get_error_bounce :: ClientInfo -> IO Bool
- client_info_get_num_ports :: ClientInfo -> IO Word
- client_info_get_event_lost :: ClientInfo -> IO Word
- client_info_set_client :: ClientInfo -> Client -> IO ()
- client_info_set_name :: ClientInfo -> String -> IO ()
- client_info_set_broadcast_filter :: ClientInfo -> Bool -> IO ()
- client_info_set_error_bounce :: ClientInfo -> Bool -> IO ()
Documentation
The type of client identifiers.
get_client_id :: SndSeq -> IO ClientSource
Get the client identifier for the sequencer. A convinience function.
set_client_name :: SndSeq -> String -> IO ()Source
Set the name for the sequencer client. A convinience function.
data ClientInfo Source
get_client_info :: SndSeq -> IO ClientInfoSource
Create a new information area filled with data about the sequencer client.
get_any_client_info :: SndSeq -> Client -> IO ClientInfoSource
Create a new information area filled with data about an arbitrary client.
Arguments
:: SndSeq | |
-> ClientInfo | |
-> IO Bool | Was there a next client? |
Get information about the client with the next biggest identifier.
set_client_info :: SndSeq -> ClientInfo -> IO ()Source
Set the information for the sequencer client based on the data in the given information area.
Arguments
:: ClientInfo | Destination |
-> ClientInfo | Source |
-> IO () |
client_info_set_client :: ClientInfo -> Client -> IO ()Source
client_info_set_name :: ClientInfo -> String -> IO ()Source
client_info_set_error_bounce :: ClientInfo -> Bool -> IO ()Source