alsa-0.4: Binding to the ALSA Library API.

Stabilityprovisional
MaintainerIavor 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

Synopsis

Documentation

data Client Source

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 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_next_clientSource

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.

client_info_copySource

Arguments

:: ClientInfo

Destination

-> ClientInfo

Source

-> IO ()