alsa-0.2: Binding to the ALSA Library API.Source codeContentsIndex
Sound.Alsa.Sequencer.Client
Stabilityprovisional
MaintainerIavor S. Diatchki
Description
This module contains functions for working with sequencer clients. Reference: http://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_client.html
Synopsis
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
= UserClient
| KernelClient
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
data Client Source
The type of client identifiers.
show/hide Instances
client_unknown :: ClientSource
client_system :: ClientSource
client_subscribers :: ClientSource
client_broadcast :: ClientSource
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
data ClientType Source
The different types of clients.
Constructors
UserClient
KernelClient
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.
query_first_client :: SndSeq -> IO ClientInfoSource
query_next_clientSource
:: SndSeq
-> ClientInfo
-> IO BoolWas 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.
client_info_copySource
:: ClientInfoDestination
-> ClientInfoSource
-> IO ()
client_info_clone :: ClientInfo -> IO ClientInfoSource
client_info_get_client :: ClientInfo -> IO ClientSource
client_info_get_type :: ClientInfo -> IO ClientTypeSource
client_info_get_name :: ClientInfo -> IO StringSource
client_info_get_broadcast_filter :: ClientInfo -> IO BoolSource
client_info_get_error_bounce :: ClientInfo -> IO BoolSource
client_info_get_num_ports :: ClientInfo -> IO WordSource
client_info_get_event_lost :: ClientInfo -> IO WordSource
client_info_set_client :: ClientInfo -> Client -> IO ()Source
client_info_set_name :: ClientInfo -> String -> IO ()Source
client_info_set_broadcast_filter :: ClientInfo -> Bool -> IO ()Source
client_info_set_error_bounce :: ClientInfo -> Bool -> IO ()Source
Produced by Haddock version 2.4.2