alsa-0.2.1: Binding to the ALSA Library API.Source codeContentsIndex
Sound.Alsa.Sequencer.Port
Stabilityprovisional
MaintainerIavor S. Diatchki
Description
This module contains functions for working with ports. Reference: http://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_port.html
Synopsis
data Port
port_system_timer :: Port
port_system_announce :: Port
port_unknown :: Port
data PortCap
cap_read :: PortCap
cap_write :: PortCap
cap_sync_read :: PortCap
cap_sync_write :: PortCap
cap_duplex :: PortCap
cap_subs_read :: PortCap
cap_subs_write :: PortCap
cap_no_export :: PortCap
caps :: [PortCap] -> PortCap
data PortType
type_specific :: PortType
type_midi_generic :: PortType
type_midi_gm :: PortType
type_midi_gs :: PortType
type_midi_xg :: PortType
type_midi_mt32 :: PortType
type_midi_gm2 :: PortType
type_synth :: PortType
type_direct_sample :: PortType
type_sample :: PortType
type_hardware :: PortType
type_software :: PortType
type_synthesizer :: PortType
type_port :: PortType
type_application :: PortType
types :: [PortType] -> PortType
data PortInfo
create_port :: SndSeq -> PortInfo -> IO ()
create_simple_port :: SndSeq -> String -> PortCap -> PortType -> IO Port
delete_port :: SndSeq -> Port -> IO ()
get_port_info :: SndSeq -> Port -> IO PortInfo
get_any_port_info :: SndSeq -> Client -> Port -> IO PortInfo
query_first_port :: SndSeq -> IO PortInfo
query_next_port :: SndSeq -> PortInfo -> IO ()
set_port_info :: SndSeq -> Port -> PortInfo -> IO ()
port_info_copy :: PortInfo -> PortInfo -> IO ()
port_info_clone :: PortInfo -> IO PortInfo
port_info_get_port :: PortInfo -> IO Port
port_info_get_client :: PortInfo -> IO Client
port_info_get_addr :: PortInfo -> IO Addr
port_info_get_name :: PortInfo -> IO String
port_info_get_capability :: PortInfo -> IO PortCap
port_info_get_midi_channels :: PortInfo -> IO Word
port_info_get_midi_voices :: PortInfo -> IO Word
port_info_get_synth_voices :: PortInfo -> IO Word
port_info_get_port_specified :: PortInfo -> IO Bool
port_info_get_timestamping :: PortInfo -> IO Bool
port_info_get_timestamp_real :: PortInfo -> IO Bool
port_info_get_timestamp_queue :: PortInfo -> IO Queue
port_info_get_read_use :: PortInfo -> IO Word
port_info_get_write_use :: PortInfo -> IO Word
port_info_set_port :: PortInfo -> Port -> IO ()
port_info_set_client :: PortInfo -> Client -> IO ()
port_info_set_addr :: PortInfo -> Addr -> IO ()
port_info_set_name :: PortInfo -> String -> IO ()
port_info_set_capability :: PortInfo -> PortCap -> IO ()
port_info_set_midi_channels :: PortInfo -> Word -> IO ()
port_info_set_synth_voices :: PortInfo -> Word -> IO ()
port_info_set_midi_voices :: PortInfo -> Word -> IO ()
port_info_set_port_specified :: PortInfo -> Bool -> IO ()
port_info_set_timestamping :: PortInfo -> Bool -> IO ()
port_info_set_timestamp_real :: PortInfo -> Bool -> IO ()
port_info_set_timestamp_queue :: PortInfo -> Queue -> IO ()
Documentation
data Port Source
show/hide Instances
port_system_timer :: PortSource
port_system_announce :: PortSource
port_unknown :: PortSource
data PortCap Source
Port capabilities.
show/hide Instances
cap_read :: PortCapSource
cap_write :: PortCapSource
cap_sync_read :: PortCapSource
cap_sync_write :: PortCapSource
cap_duplex :: PortCapSource
cap_subs_read :: PortCapSource
cap_subs_write :: PortCapSource
cap_no_export :: PortCapSource
caps :: [PortCap] -> PortCapSource
data PortType Source
Port types.
show/hide Instances
type_specific :: PortTypeSource
type_midi_generic :: PortTypeSource
type_midi_gm :: PortTypeSource
type_midi_gs :: PortTypeSource
type_midi_xg :: PortTypeSource
type_midi_mt32 :: PortTypeSource
type_midi_gm2 :: PortTypeSource
type_synth :: PortTypeSource
type_direct_sample :: PortTypeSource
type_sample :: PortTypeSource
type_hardware :: PortTypeSource
type_software :: PortTypeSource
type_synthesizer :: PortTypeSource
type_port :: PortTypeSource
type_application :: PortTypeSource
types :: [PortType] -> PortTypeSource
data PortInfo Source
create_port :: SndSeq -> PortInfo -> IO ()Source
Create a new port, as described by the info structure.
create_simple_port :: SndSeq -> String -> PortCap -> PortType -> IO PortSource
Create a port - simple version.
delete_port :: SndSeq -> Port -> IO ()Source
Delete the port.
get_port_info :: SndSeq -> Port -> IO PortInfoSource
Create a new information area filled with data about a specific port on our client.
get_any_port_info :: SndSeq -> Client -> Port -> IO PortInfoSource
Create a new information area filled with data about an given port on a given client.
query_first_port :: SndSeq -> IO PortInfoSource
Get information about the first port on our client.
query_next_port :: SndSeq -> PortInfo -> IO ()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, otherwise we throw an error.
set_port_info :: SndSeq -> Port -> PortInfo -> IO ()Source
Set the information for the sequencer port based on the data in the given information area.
port_info_copySource
:: PortInfoDestination
-> PortInfoSource
-> IO ()
port_info_clone :: PortInfo -> IO PortInfoSource
port_info_get_port :: PortInfo -> IO PortSource
port_info_get_client :: PortInfo -> IO ClientSource
port_info_get_addr :: PortInfo -> IO AddrSource
Get the address of the information area.
port_info_get_name :: PortInfo -> IO StringSource
port_info_get_capability :: PortInfo -> IO PortCapSource
port_info_get_midi_channels :: PortInfo -> IO WordSource
port_info_get_midi_voices :: PortInfo -> IO WordSource
port_info_get_synth_voices :: PortInfo -> IO WordSource
port_info_get_port_specified :: PortInfo -> IO BoolSource
port_info_get_timestamping :: PortInfo -> IO BoolSource
port_info_get_timestamp_real :: PortInfo -> IO BoolSource
port_info_get_timestamp_queue :: PortInfo -> IO QueueSource
port_info_get_read_use :: PortInfo -> IO WordSource
port_info_get_write_use :: PortInfo -> IO WordSource
port_info_set_port :: PortInfo -> Port -> IO ()Source
port_info_set_client :: PortInfo -> Client -> IO ()Source
port_info_set_addr :: PortInfo -> Addr -> IO ()Source
Set the port address.
port_info_set_name :: PortInfo -> String -> IO ()Source
port_info_set_capability :: PortInfo -> PortCap -> IO ()Source
port_info_set_midi_channels :: PortInfo -> Word -> IO ()Source
port_info_set_synth_voices :: PortInfo -> Word -> IO ()Source
port_info_set_midi_voices :: PortInfo -> Word -> IO ()Source
port_info_set_port_specified :: PortInfo -> Bool -> IO ()Source
port_info_set_timestamping :: PortInfo -> Bool -> IO ()Source
port_info_set_timestamp_real :: PortInfo -> Bool -> IO ()Source
port_info_set_timestamp_queue :: PortInfo -> Queue -> IO ()Source
Produced by Haddock version 2.4.2