Functions | |
const char * | snd_seq_name (snd_seq_t *seq) |
get identifier of sequencer handle | |
snd_seq_type_t | snd_seq_type (snd_seq_t *seq) |
get type of sequencer handle | |
int | snd_seq_open (snd_seq_t **seqp, const char *name, int streams, int mode) |
Open the ALSA sequencer. | |
int | snd_seq_open_lconf (snd_seq_t **seqp, const char *name, int streams, int mode, snd_config_t *lconf) |
Open the ALSA sequencer using local configuration. | |
int | snd_seq_close (snd_seq_t *seq) |
Close the sequencer. | |
int | snd_seq_poll_descriptors_count (snd_seq_t *seq, short events) |
Returns the number of poll descriptors. | |
int | snd_seq_poll_descriptors (snd_seq_t *seq, struct pollfd *pfds, unsigned int space, short events) |
Get poll descriptors. | |
int | snd_seq_poll_descriptors_revents (snd_seq_t *seq, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) |
get returned events from poll descriptors | |
int | snd_seq_nonblock (snd_seq_t *seq, int nonblock) |
Set nonblock mode. | |
int | snd_seq_client_id (snd_seq_t *seq) |
Get the client id. | |
size_t | snd_seq_get_output_buffer_size (snd_seq_t *seq) |
Return the size of output buffer. | |
size_t | snd_seq_get_input_buffer_size (snd_seq_t *seq) |
Return the size of input buffer. | |
int | snd_seq_set_output_buffer_size (snd_seq_t *seq, size_t size) |
Change the size of output buffer. | |
int | snd_seq_set_input_buffer_size (snd_seq_t *seq, size_t size) |
Resize the input buffer. | |
size_t | snd_seq_system_info_sizeof () |
Get size of snd_seq_system_info_t. | |
int | snd_seq_system_info_malloc (snd_seq_system_info_t **ptr) |
Allocate an empty snd_seq_system_info_t using standard malloc. | |
void | snd_seq_system_info_free (snd_seq_system_info_t *obj) |
Frees a previously allocated snd_seq_system_info_t. | |
void | snd_seq_system_info_copy (snd_seq_system_info_t *dst, const snd_seq_system_info_t *src) |
Copy one snd_seq_system_info_t to another. | |
int | snd_seq_system_info_get_queues (const snd_seq_system_info_t *info) |
Get maximum number of queues. | |
int | snd_seq_system_info_get_clients (const snd_seq_system_info_t *info) |
Get maximum number of clients. | |
int | snd_seq_system_info_get_ports (const snd_seq_system_info_t *info) |
Get maximum number of ports. | |
int | snd_seq_system_info_get_channels (const snd_seq_system_info_t *info) |
Get maximum number of channels. | |
int | snd_seq_system_info_get_cur_clients (const snd_seq_system_info_t *info) |
Get the current number of clients. | |
int | snd_seq_system_info_get_cur_queues (const snd_seq_system_info_t *info) |
Get the current number of queues. | |
int | snd_seq_system_info (snd_seq_t *seq, snd_seq_system_info_t *info) |
obtain the sequencer system information | |
size_t | snd_seq_client_info_sizeof () |
get size of snd_seq_client_info_t | |
int | snd_seq_client_info_malloc (snd_seq_client_info_t **ptr) |
allocate an empty snd_seq_client_info_t using standard malloc | |
void | snd_seq_client_info_free (snd_seq_client_info_t *obj) |
frees a previously allocated snd_seq_client_info_t | |
void | snd_seq_client_info_copy (snd_seq_client_info_t *dst, const snd_seq_client_info_t *src) |
copy one snd_seq_client_info_t to another | |
int | snd_seq_client_info_get_client (const snd_seq_client_info_t *info) |
Get client id of a client_info container. | |
snd_seq_client_type_t | snd_seq_client_info_get_type (const snd_seq_client_info_t *info) |
Get client type of a client_info container. | |
const char * | snd_seq_client_info_get_name (snd_seq_client_info_t *info) |
Get the name of a client_info container. | |
int | snd_seq_client_info_get_broadcast_filter (const snd_seq_client_info_t *info) |
Get the broadcast filter usage of a client_info container. | |
int | snd_seq_client_info_get_error_bounce (const snd_seq_client_info_t *info) |
Get the error-bounce usage of a client_info container. | |
const unsigned char * | snd_seq_client_info_get_event_filter (const snd_seq_client_info_t *info) |
Get the event filter bitmap of a client_info container. | |
int | snd_seq_client_info_get_num_ports (const snd_seq_client_info_t *info) |
Get the number of opened ports of a client_info container. | |
int | snd_seq_client_info_get_event_lost (const snd_seq_client_info_t *info) |
Get the number of lost events of a client_info container. | |
void | snd_seq_client_info_set_client (snd_seq_client_info_t *info, int client) |
Set the client id of a client_info container. | |
void | snd_seq_client_info_set_name (snd_seq_client_info_t *info, const char *name) |
Set the name of a client_info container. | |
void | snd_seq_client_info_set_broadcast_filter (snd_seq_client_info_t *info, int val) |
Set the broadcast filter usage of a client_info container. | |
void | snd_seq_client_info_set_error_bounce (snd_seq_client_info_t *info, int val) |
Set the error-bounce usage of a client_info container. | |
void | snd_seq_client_info_set_event_filter (snd_seq_client_info_t *info, unsigned char *filter) |
Set the event filter bitmap of a client_info container. | |
int | snd_seq_get_any_client_info (snd_seq_t *seq, int client, snd_seq_client_info_t *info) |
obtain the information of the given client | |
int | snd_seq_get_client_info (snd_seq_t *seq, snd_seq_client_info_t *info) |
obtain the current client information | |
int | snd_seq_set_client_info (snd_seq_t *seq, snd_seq_client_info_t *info) |
set the current client information | |
int | snd_seq_query_next_client (snd_seq_t *seq, snd_seq_client_info_t *info) |
query the next matching client | |
size_t | snd_seq_port_info_sizeof () |
get size of snd_seq_port_info_t | |
int | snd_seq_port_info_malloc (snd_seq_port_info_t **ptr) |
allocate an empty snd_seq_port_info_t using standard malloc | |
void | snd_seq_port_info_free (snd_seq_port_info_t *obj) |
frees a previously allocated snd_seq_port_info_t | |
void | snd_seq_port_info_copy (snd_seq_port_info_t *dst, const snd_seq_port_info_t *src) |
copy one snd_seq_port_info_t to another | |
int | snd_seq_port_info_get_client (const snd_seq_port_info_t *info) |
Get client id of a port_info container. | |
int | snd_seq_port_info_get_port (const snd_seq_port_info_t *info) |
Get port id of a port_info container. | |
const snd_seq_addr_t * | snd_seq_port_info_get_addr (const snd_seq_port_info_t *info) |
Get client/port address of a port_info container. | |
const char * | snd_seq_port_info_get_name (const snd_seq_port_info_t *info) |
Get the name of a port_info container. | |
unsigned int | snd_seq_port_info_get_capability (const snd_seq_port_info_t *info) |
Get the capability bits of a port_info container. | |
unsigned int | snd_seq_port_info_get_type (const snd_seq_port_info_t *info) |
Get the type bits of a port_info container. | |
int | snd_seq_port_info_get_read_use (const snd_seq_port_info_t *info) |
Get the number of read subscriptions of a port_info container. | |
int | snd_seq_port_info_get_write_use (const snd_seq_port_info_t *info) |
Get the number of write subscriptions of a port_info container. | |
int | snd_seq_port_info_get_midi_channels (const snd_seq_port_info_t *info) |
Get the midi channels of a port_info container. | |
int | snd_seq_port_info_get_midi_voices (const snd_seq_port_info_t *info) |
Get the midi voices of a port_info container. | |
int | snd_seq_port_info_get_synth_voices (const snd_seq_port_info_t *info) |
Get the synth voices of a port_info container. | |
int | snd_seq_port_info_get_port_specified (const snd_seq_port_info_t *info) |
Get the port-specified mode of a port_info container. | |
int | snd_seq_port_info_get_timestamping (const snd_seq_port_info_t *info) |
Get the time-stamping mode of the given port in a port_info container. | |
int | snd_seq_port_info_get_timestamp_real (const snd_seq_port_info_t *info) |
Get whether the time-stamping of the given port is real-time mode. | |
int | snd_seq_port_info_get_timestamp_queue (const snd_seq_port_info_t *info) |
Get the queue id to update timestamps. | |
void | snd_seq_port_info_set_client (snd_seq_port_info_t *info, int client) |
Set the client id of a port_info container. | |
void | snd_seq_port_info_set_port (snd_seq_port_info_t *info, int port) |
Set the port id of a port_info container. | |
void | snd_seq_port_info_set_addr (snd_seq_port_info_t *info, const snd_seq_addr_t *addr) |
Set the client/port address of a port_info container. | |
void | snd_seq_port_info_set_name (snd_seq_port_info_t *info, const char *name) |
Set the name of a port_info container. | |
void | snd_seq_port_info_set_capability (snd_seq_port_info_t *info, unsigned int capability) |
set the capability bits of a port_info container | |
void | snd_seq_port_info_set_type (snd_seq_port_info_t *info, unsigned int type) |
Get the type bits of a port_info container. | |
void | snd_seq_port_info_set_midi_channels (snd_seq_port_info_t *info, int channels) |
set the midi channels of a port_info container | |
void | snd_seq_port_info_set_midi_voices (snd_seq_port_info_t *info, int voices) |
set the midi voices of a port_info container | |
void | snd_seq_port_info_set_synth_voices (snd_seq_port_info_t *info, int voices) |
set the synth voices of a port_info container | |
void | snd_seq_port_info_set_port_specified (snd_seq_port_info_t *info, int val) |
Set the port-specified mode of a port_info container. | |
void | snd_seq_port_info_set_timestamping (snd_seq_port_info_t *info, int enable) |
Set the time-stamping mode of the given port. | |
void | snd_seq_port_info_set_timestamp_real (snd_seq_port_info_t *info, int enable) |
Set whether the timestime is updated in the real-time mode. | |
void | snd_seq_port_info_set_timestamp_queue (snd_seq_port_info_t *info, int queue) |
Set the queue id for timestamping. | |
int | snd_seq_create_port (snd_seq_t *seq, snd_seq_port_info_t *port) |
create a sequencer port on the current client | |
int | snd_seq_delete_port (snd_seq_t *seq, int port) |
delete a sequencer port on the current client | |
int | snd_seq_get_any_port_info (snd_seq_t *seq, int client, int port, snd_seq_port_info_t *info) |
obtain the information of a port on an arbitrary client | |
int | snd_seq_get_port_info (snd_seq_t *seq, int port, snd_seq_port_info_t *info) |
obtain the information of a port on the current client | |
int | snd_seq_set_port_info (snd_seq_t *seq, int port, snd_seq_port_info_t *info) |
set the information of a port on the current client | |
int | snd_seq_query_next_port (snd_seq_t *seq, snd_seq_port_info_t *info) |
query the next matching port | |
size_t | snd_seq_port_subscribe_sizeof () |
get size of snd_seq_port_subscribe_t | |
int | snd_seq_port_subscribe_malloc (snd_seq_port_subscribe_t **ptr) |
allocate an empty snd_seq_port_subscribe_t using standard malloc | |
void | snd_seq_port_subscribe_free (snd_seq_port_subscribe_t *obj) |
frees a previously allocated snd_seq_port_subscribe_t | |
void | snd_seq_port_subscribe_copy (snd_seq_port_subscribe_t *dst, const snd_seq_port_subscribe_t *src) |
copy one snd_seq_port_subscribe_t to another | |
const snd_seq_addr_t * | snd_seq_port_subscribe_get_sender (const snd_seq_port_subscribe_t *info) |
Get sender address of a port_subscribe container. | |
const snd_seq_addr_t * | snd_seq_port_subscribe_get_dest (const snd_seq_port_subscribe_t *info) |
Get destination address of a port_subscribe container. | |
int | snd_seq_port_subscribe_get_queue (const snd_seq_port_subscribe_t *info) |
Get the queue id of a port_subscribe container. | |
int | snd_seq_port_subscribe_get_exclusive (const snd_seq_port_subscribe_t *info) |
Get the exclusive mode of a port_subscribe container. | |
int | snd_seq_port_subscribe_get_time_update (const snd_seq_port_subscribe_t *info) |
Get the time-update mode of a port_subscribe container. | |
int | snd_seq_port_subscribe_get_time_real (const snd_seq_port_subscribe_t *info) |
Get the real-time update mode of a port_subscribe container. | |
void | snd_seq_port_subscribe_set_sender (snd_seq_port_subscribe_t *info, const snd_seq_addr_t *addr) |
Set sender address of a port_subscribe container. | |
void | snd_seq_port_subscribe_set_dest (snd_seq_port_subscribe_t *info, const snd_seq_addr_t *addr) |
Set destination address of a port_subscribe container. | |
void | snd_seq_port_subscribe_set_queue (snd_seq_port_subscribe_t *info, int q) |
Set the queue id of a port_subscribe container. | |
void | snd_seq_port_subscribe_set_voices (snd_seq_port_subscribe_t *info, unsigned int voices) |
Set the voices of a port_subscribe container. | |
void | snd_seq_port_subscribe_set_exclusive (snd_seq_port_subscribe_t *info, int val) |
Set the exclusive mode of a port_subscribe container. | |
void | snd_seq_port_subscribe_set_time_update (snd_seq_port_subscribe_t *info, int val) |
Set the time-update mode of a port_subscribe container. | |
void | snd_seq_port_subscribe_set_time_real (snd_seq_port_subscribe_t *info, int val) |
Set the real-time mode of a port_subscribe container. | |
int | snd_seq_get_port_subscription (snd_seq_t *seq, snd_seq_port_subscribe_t *sub) |
obtain subscription information | |
int | snd_seq_subscribe_port (snd_seq_t *seq, snd_seq_port_subscribe_t *sub) |
subscribe a port connection | |
int | snd_seq_unsubscribe_port (snd_seq_t *seq, snd_seq_port_subscribe_t *sub) |
unsubscribe a connection between ports | |
size_t | snd_seq_query_subscribe_sizeof () |
get size of snd_seq_query_subscribe_t | |
int | snd_seq_query_subscribe_malloc (snd_seq_query_subscribe_t **ptr) |
allocate an empty snd_seq_query_subscribe_t using standard malloc | |
void | snd_seq_query_subscribe_free (snd_seq_query_subscribe_t *obj) |
frees a previously allocated snd_seq_query_subscribe_t | |
void | snd_seq_query_subscribe_copy (snd_seq_query_subscribe_t *dst, const snd_seq_query_subscribe_t *src) |
copy one snd_seq_query_subscribe_t to another | |
int | snd_seq_query_subscribe_get_client (const snd_seq_query_subscribe_t *info) |
Get the client id of a query_subscribe container. | |
int | snd_seq_query_subscribe_get_port (const snd_seq_query_subscribe_t *info) |
Get the port id of a query_subscribe container. | |
const snd_seq_addr_t * | snd_seq_query_subscribe_get_root (const snd_seq_query_subscribe_t *info) |
Get the client/port address of a query_subscribe container. | |
snd_seq_query_subs_type_t | snd_seq_query_subscribe_get_type (const snd_seq_query_subscribe_t *info) |
Get the query type of a query_subscribe container. | |
int | snd_seq_query_subscribe_get_index (const snd_seq_query_subscribe_t *info) |
Get the index of subscriber of a query_subscribe container. | |
int | snd_seq_query_subscribe_get_num_subs (const snd_seq_query_subscribe_t *info) |
Get the number of subscriptions of a query_subscribe container. | |
const snd_seq_addr_t * | snd_seq_query_subscribe_get_addr (const snd_seq_query_subscribe_t *info) |
Get the address of subscriber of a query_subscribe container. | |
int | snd_seq_query_subscribe_get_queue (const snd_seq_query_subscribe_t *info) |
Get the queue id of subscriber of a query_subscribe container. | |
int | snd_seq_query_subscribe_get_exclusive (const snd_seq_query_subscribe_t *info) |
Get the exclusive mode of a query_subscribe container. | |
int | snd_seq_query_subscribe_get_time_update (const snd_seq_query_subscribe_t *info) |
Get the time-update mode of a query_subscribe container. | |
int | snd_seq_query_subscribe_get_time_real (const snd_seq_query_subscribe_t *info) |
Get the real-time update mode of a query_subscribe container. | |
void | snd_seq_query_subscribe_set_client (snd_seq_query_subscribe_t *info, int client) |
Set the client id of a query_subscribe container. | |
void | snd_seq_query_subscribe_set_port (snd_seq_query_subscribe_t *info, int port) |
Set the port id of a query_subscribe container. | |
void | snd_seq_query_subscribe_set_root (snd_seq_query_subscribe_t *info, const snd_seq_addr_t *addr) |
Set the client/port address of a query_subscribe container. | |
void | snd_seq_query_subscribe_set_type (snd_seq_query_subscribe_t *info, snd_seq_query_subs_type_t type) |
Set the query type of a query_subscribe container. | |
void | snd_seq_query_subscribe_set_index (snd_seq_query_subscribe_t *info, int index) |
Set the subscriber's index to be queried. | |
int | snd_seq_query_port_subscribers (snd_seq_t *seq, snd_seq_query_subscribe_t *subs) |
query port subscriber list | |
size_t | snd_seq_queue_info_sizeof () |
get size of snd_seq_queue_info_t | |
int | snd_seq_queue_info_malloc (snd_seq_queue_info_t **ptr) |
allocate an empty snd_seq_queue_info_t using standard malloc | |
void | snd_seq_queue_info_free (snd_seq_queue_info_t *obj) |
frees a previously allocated snd_seq_queue_info_t | |
void | snd_seq_queue_info_copy (snd_seq_queue_info_t *dst, const snd_seq_queue_info_t *src) |
copy one snd_seq_queue_info_t to another | |
int | snd_seq_queue_info_get_queue (const snd_seq_queue_info_t *info) |
Get the queue id of a queue_info container. | |
const char * | snd_seq_queue_info_get_name (const snd_seq_queue_info_t *info) |
Get the name of a queue_info container. | |
int | snd_seq_queue_info_get_owner (const snd_seq_queue_info_t *info) |
Get the owner client id of a queue_info container. | |
int | snd_seq_queue_info_get_locked (const snd_seq_queue_info_t *info) |
Get the lock status of a queue_info container. | |
unsigned int | snd_seq_queue_info_get_flags (const snd_seq_queue_info_t *info) |
Get the conditional bit flags of a queue_info container. | |
void | snd_seq_queue_info_set_name (snd_seq_queue_info_t *info, const char *name) |
Set the name of a queue_info container. | |
void | snd_seq_queue_info_set_owner (snd_seq_queue_info_t *info, int owner) |
Set the owner client id of a queue_info container. | |
void | snd_seq_queue_info_set_locked (snd_seq_queue_info_t *info, int locked) |
Set the lock status of a queue_info container. | |
void | snd_seq_queue_info_set_flags (snd_seq_queue_info_t *info, unsigned int flags) |
Set the conditional bit flags of a queue_info container. | |
int | snd_seq_create_queue (snd_seq_t *seq, snd_seq_queue_info_t *info) |
create a queue | |
int | snd_seq_alloc_named_queue (snd_seq_t *seq, const char *name) |
allocate a queue with the specified name | |
int | snd_seq_alloc_queue (snd_seq_t *seq) |
allocate a queue | |
int | snd_seq_free_queue (snd_seq_t *seq, int q) |
delete the specified queue | |
int | snd_seq_get_queue_info (snd_seq_t *seq, int q, snd_seq_queue_info_t *info) |
obtain queue attributes | |
int | snd_seq_set_queue_info (snd_seq_t *seq, int q, snd_seq_queue_info_t *info) |
change the queue attributes | |
int | snd_seq_query_named_queue (snd_seq_t *seq, const char *name) |
query the matching queue with the specified name | |
int | snd_seq_get_queue_usage (snd_seq_t *seq, int q) |
Get the queue usage flag to the client. | |
int | snd_seq_set_queue_usage (snd_seq_t *seq, int q, int used) |
Set the queue usage flag to the client. | |
size_t | snd_seq_queue_status_sizeof () |
get size of snd_seq_queue_status_t | |
int | snd_seq_queue_status_malloc (snd_seq_queue_status_t **ptr) |
allocate an empty snd_seq_queue_status_t using standard malloc | |
void | snd_seq_queue_status_free (snd_seq_queue_status_t *obj) |
frees a previously allocated snd_seq_queue_status_t | |
void | snd_seq_queue_status_copy (snd_seq_queue_status_t *dst, const snd_seq_queue_status_t *src) |
copy one snd_seq_queue_status_t to another | |
int | snd_seq_queue_status_get_queue (const snd_seq_queue_status_t *info) |
Get the queue id of a queue_status container. | |
int | snd_seq_queue_status_get_events (const snd_seq_queue_status_t *info) |
Get the number of events of a queue_status container. | |
snd_seq_tick_time_t | snd_seq_queue_status_get_tick_time (const snd_seq_queue_status_t *info) |
Get the tick time of a queue_status container. | |
const snd_seq_real_time_t * | snd_seq_queue_status_get_real_time (const snd_seq_queue_status_t *info) |
Get the real time of a queue_status container. | |
unsigned int | snd_seq_queue_status_get_status (const snd_seq_queue_status_t *info) |
Get the running status bits of a queue_status container. | |
int | snd_seq_get_queue_status (snd_seq_t *seq, int q, snd_seq_queue_status_t *status) |
obtain the running state of the queue | |
size_t | snd_seq_queue_tempo_sizeof () |
get size of snd_seq_queue_tempo_t | |
int | snd_seq_queue_tempo_malloc (snd_seq_queue_tempo_t **ptr) |
allocate an empty snd_seq_queue_tempo_t using standard malloc | |
void | snd_seq_queue_tempo_free (snd_seq_queue_tempo_t *obj) |
frees a previously allocated snd_seq_queue_tempo_t | |
void | snd_seq_queue_tempo_copy (snd_seq_queue_tempo_t *dst, const snd_seq_queue_tempo_t *src) |
copy one snd_seq_queue_tempo_t to another | |
int | snd_seq_queue_tempo_get_queue (const snd_seq_queue_tempo_t *info) |
Get the queue id of a queue_status container. | |
unsigned int | snd_seq_queue_tempo_get_tempo (const snd_seq_queue_tempo_t *info) |
Get the tempo of a queue_status container. | |
int | snd_seq_queue_tempo_get_ppq (const snd_seq_queue_tempo_t *info) |
Get the ppq of a queue_status container. | |
unsigned int | snd_seq_queue_tempo_get_skew (const snd_seq_queue_tempo_t *info) |
Get the timer skew value of a queue_status container. | |
unsigned int | snd_seq_queue_tempo_get_skew_base (const snd_seq_queue_tempo_t *info) |
Get the timer skew base value of a queue_status container. | |
void | snd_seq_queue_tempo_set_tempo (snd_seq_queue_tempo_t *info, unsigned int tempo) |
Set the tempo of a queue_status container. | |
void | snd_seq_queue_tempo_set_ppq (snd_seq_queue_tempo_t *info, int ppq) |
Set the ppq of a queue_status container. | |
void | snd_seq_queue_tempo_set_skew (snd_seq_queue_tempo_t *info, unsigned int skew) |
Set the timer skew value of a queue_status container. | |
void | snd_seq_queue_tempo_set_skew_base (snd_seq_queue_tempo_t *info, unsigned int base) |
Set the timer skew base value of a queue_status container. | |
int | snd_seq_get_queue_tempo (snd_seq_t *seq, int q, snd_seq_queue_tempo_t *tempo) |
obtain the current tempo of the queue | |
int | snd_seq_set_queue_tempo (snd_seq_t *seq, int q, snd_seq_queue_tempo_t *tempo) |
set the tempo of the queue | |
size_t | snd_seq_queue_timer_sizeof () |
get size of snd_seq_queue_timer_t | |
int | snd_seq_queue_timer_malloc (snd_seq_queue_timer_t **ptr) |
allocate an empty snd_seq_queue_timer_t using standard malloc | |
void | snd_seq_queue_timer_free (snd_seq_queue_timer_t *obj) |
frees a previously allocated snd_seq_queue_timer_t | |
void | snd_seq_queue_timer_copy (snd_seq_queue_timer_t *dst, const snd_seq_queue_timer_t *src) |
copy one snd_seq_queue_timer_t to another | |
int | snd_seq_queue_timer_get_queue (const snd_seq_queue_timer_t *info) |
Get the queue id of a queue_timer container. | |
snd_seq_queue_timer_type_t | snd_seq_queue_timer_get_type (const snd_seq_queue_timer_t *info) |
Get the timer type of a queue_timer container. | |
const snd_timer_id_t * | snd_seq_queue_timer_get_id (const snd_seq_queue_timer_t *info) |
Get the timer id of a queue_timer container. | |
unsigned int | snd_seq_queue_timer_get_resolution (const snd_seq_queue_timer_t *info) |
Get the timer resolution of a queue_timer container. | |
void | snd_seq_queue_timer_set_type (snd_seq_queue_timer_t *info, snd_seq_queue_timer_type_t type) |
Set the timer type of a queue_timer container. | |
void | snd_seq_queue_timer_set_id (snd_seq_queue_timer_t *info, const snd_timer_id_t *id) |
Set the timer id of a queue_timer container. | |
void | snd_seq_queue_timer_set_resolution (snd_seq_queue_timer_t *info, unsigned int resolution) |
Set the timer resolution of a queue_timer container. | |
int | snd_seq_get_queue_timer (snd_seq_t *seq, int q, snd_seq_queue_timer_t *timer) |
obtain the queue timer information | |
int | snd_seq_set_queue_timer (snd_seq_t *seq, int q, snd_seq_queue_timer_t *timer) |
set the queue timer information | |
int | snd_seq_free_event (snd_seq_event_t *ev) |
(DEPRECATED) free an event | |
ssize_t | snd_seq_event_length (snd_seq_event_t *ev) |
calculates the (encoded) byte-stream size of the event | |
int | snd_seq_event_output (snd_seq_t *seq, snd_seq_event_t *ev) |
output an event | |
int | snd_seq_event_output_buffer (snd_seq_t *seq, snd_seq_event_t *ev) |
output an event onto the lib buffer without draining buffer | |
int | snd_seq_event_output_direct (snd_seq_t *seq, snd_seq_event_t *ev) |
output an event directly to the sequencer NOT through output buffer | |
int | snd_seq_event_output_pending (snd_seq_t *seq) |
return the size of pending events on output buffer | |
int | snd_seq_drain_output (snd_seq_t *seq) |
drain output buffer to sequencer | |
int | snd_seq_extract_output (snd_seq_t *seq, snd_seq_event_t **ev_res) |
extract the first event in output buffer | |
int | snd_seq_event_input (snd_seq_t *seq, snd_seq_event_t **ev) |
retrieve an event from sequencer | |
int | snd_seq_event_input_pending (snd_seq_t *seq, int fetch_sequencer) |
check events in input buffer | |
int | snd_seq_drop_output_buffer (snd_seq_t *seq) |
remove all events on user-space output buffer | |
int | snd_seq_drop_input_buffer (snd_seq_t *seq) |
remove all events on user-space input FIFO | |
int | snd_seq_drop_output (snd_seq_t *seq) |
remove all events on output buffer | |
int | snd_seq_drop_input (snd_seq_t *seq) |
clear input buffer and and remove events in sequencer queue | |
size_t | snd_seq_remove_events_sizeof () |
get size of snd_seq_remove_events_t | |
int | snd_seq_remove_events_malloc (snd_seq_remove_events_t **ptr) |
allocate an empty snd_seq_remove_events_t using standard malloc | |
void | snd_seq_remove_events_free (snd_seq_remove_events_t *obj) |
frees a previously allocated snd_seq_remove_events_t | |
void | snd_seq_remove_events_copy (snd_seq_remove_events_t *dst, const snd_seq_remove_events_t *src) |
copy one snd_seq_remove_events_t to another | |
unsigned int | snd_seq_remove_events_get_condition (const snd_seq_remove_events_t *info) |
Get the removal condition bits. | |
int | snd_seq_remove_events_get_queue (const snd_seq_remove_events_t *info) |
Get the queue as removal condition. | |
const snd_seq_timestamp_t * | snd_seq_remove_events_get_time (const snd_seq_remove_events_t *info) |
Get the event timestamp as removal condition. | |
const snd_seq_addr_t * | snd_seq_remove_events_get_dest (const snd_seq_remove_events_t *info) |
Get the event destination address as removal condition. | |
int | snd_seq_remove_events_get_channel (const snd_seq_remove_events_t *info) |
Get the event channel as removal condition. | |
int | snd_seq_remove_events_get_event_type (const snd_seq_remove_events_t *info) |
Get the event type as removal condition. | |
int | snd_seq_remove_events_get_tag (const snd_seq_remove_events_t *info) |
Get the event tag id as removal condition. | |
void | snd_seq_remove_events_set_condition (snd_seq_remove_events_t *info, unsigned int flags) |
Set the removal condition bits. | |
void | snd_seq_remove_events_set_queue (snd_seq_remove_events_t *info, int queue) |
Set the queue as removal condition. | |
void | snd_seq_remove_events_set_time (snd_seq_remove_events_t *info, const snd_seq_timestamp_t *time) |
Set the timestamp as removal condition. | |
void | snd_seq_remove_events_set_dest (snd_seq_remove_events_t *info, const snd_seq_addr_t *addr) |
Set the destination address as removal condition. | |
void | snd_seq_remove_events_set_channel (snd_seq_remove_events_t *info, int channel) |
Set the channel as removal condition. | |
void | snd_seq_remove_events_set_event_type (snd_seq_remove_events_t *info, int type) |
Set the event type as removal condition. | |
void | snd_seq_remove_events_set_tag (snd_seq_remove_events_t *info, int tag) |
Set the event tag as removal condition. | |
int | snd_seq_remove_events (snd_seq_t *seq, snd_seq_remove_events_t *rmp) |
remove events on input/output buffers | |
size_t | snd_seq_client_pool_sizeof () |
get size of snd_seq_client_pool_t | |
int | snd_seq_client_pool_malloc (snd_seq_client_pool_t **ptr) |
allocate an empty snd_seq_client_pool_t using standard malloc | |
void | snd_seq_client_pool_free (snd_seq_client_pool_t *obj) |
frees a previously allocated snd_seq_client_pool_t | |
void | snd_seq_client_pool_copy (snd_seq_client_pool_t *dst, const snd_seq_client_pool_t *src) |
copy one snd_seq_client_pool_t to another | |
int | snd_seq_client_pool_get_client (const snd_seq_client_pool_t *info) |
Get the client id of a queue_info container. | |
size_t | snd_seq_client_pool_get_output_pool (const snd_seq_client_pool_t *info) |
Get the output pool size of a queue_info container. | |
size_t | snd_seq_client_pool_get_input_pool (const snd_seq_client_pool_t *info) |
Get the input pool size of a queue_info container. | |
size_t | snd_seq_client_pool_get_output_room (const snd_seq_client_pool_t *info) |
Get the output room size of a queue_info container. | |
size_t | snd_seq_client_pool_get_output_free (const snd_seq_client_pool_t *info) |
Get the available size on output pool of a queue_info container. | |
size_t | snd_seq_client_pool_get_input_free (const snd_seq_client_pool_t *info) |
Get the available size on input pool of a queue_info container. | |
void | snd_seq_client_pool_set_output_pool (snd_seq_client_pool_t *info, size_t size) |
Set the output pool size of a queue_info container. | |
void | snd_seq_client_pool_set_input_pool (snd_seq_client_pool_t *info, size_t size) |
Set the input pool size of a queue_info container. | |
void | snd_seq_client_pool_set_output_room (snd_seq_client_pool_t *info, size_t size) |
Set the output room size of a queue_info container. | |
int | snd_seq_get_client_pool (snd_seq_t *seq, snd_seq_client_pool_t *info) |
obtain the pool information of the current client | |
int | snd_seq_set_client_pool (snd_seq_t *seq, snd_seq_client_pool_t *info) |
set the pool information | |
void | snd_seq_set_bit (int nr, void *array) |
set a bit flag | |
int | snd_seq_change_bit (int nr, void *array) |
change a bit flag | |
int | snd_seq_get_bit (int nr, void *array) |
get a bit flag state | |
size_t | snd_instr_header_sizeof (void) |
get size of snd_instr_header_t | |
int | snd_instr_header_malloc (snd_instr_header_t **ptr, size_t len) |
allocate an empty snd_instr_header_t using standard malloc | |
void | snd_instr_header_free (snd_instr_header_t *obj) |
frees a previously allocated snd_instr_header_t | |
void | snd_instr_header_copy (snd_instr_header_t *dst, const snd_instr_header_t *src) |
copy one snd_instr_header_t to another | |
const snd_seq_instr_t * | snd_instr_header_get_id (const snd_instr_header_t *info) |
Get the instrument id of an instr_header container. | |
snd_seq_instr_cluster_t | snd_instr_header_get_cluster (const snd_instr_header_t *info) |
Get the cluster id of an instr_header container. | |
unsigned int | snd_instr_header_get_cmd (const snd_instr_header_t *info) |
Get the command of an instr_header container. | |
size_t | snd_instr_header_get_len (const snd_instr_header_t *info) |
Get the length of extra data of an instr_header container. | |
const char * | snd_instr_header_get_name (const snd_instr_header_t *info) |
Get the data name of an instr_header container. | |
int | snd_instr_header_get_type (const snd_instr_header_t *info) |
Get the data type of an instr_header container. | |
const char * | snd_instr_header_get_format (const snd_instr_header_t *info) |
Get the data format of an instr_header container. | |
const snd_seq_instr_t * | snd_instr_header_get_alias (const snd_instr_header_t *info) |
Get the data alias of an instr_header container. | |
void * | snd_instr_header_get_data (const snd_instr_header_t *info) |
Get the extra data pointer of an instr_header container. | |
int | snd_instr_header_get_follow_alias (const snd_instr_header_t *info) |
Get the flag to follow alias of an instr_header container. | |
void | snd_instr_header_set_id (snd_instr_header_t *info, const snd_seq_instr_t *id) |
Set the instrument id of an instr_header container. | |
void | snd_instr_header_set_cluster (snd_instr_header_t *info, snd_seq_instr_cluster_t cluster) |
Set the cluster id of an instr_header container. | |
void | snd_instr_header_set_cmd (snd_instr_header_t *info, unsigned int cmd) |
Set the command of an instr_header container. | |
void | snd_instr_header_set_len (snd_instr_header_t *info, size_t len) |
Set the length of extra data of an instr_header container. | |
void | snd_instr_header_set_name (snd_instr_header_t *info, const char *name) |
Set the data name of an instr_header container. | |
void | snd_instr_header_set_type (snd_instr_header_t *info, int type) |
Set the data type of an instr_header container. | |
void | snd_instr_header_set_format (snd_instr_header_t *info, const char *format) |
Set the data format of an instr_header container. | |
void | snd_instr_header_set_alias (snd_instr_header_t *info, const snd_seq_instr_t *instr) |
Set the data alias id of an instr_header container. | |
void | snd_instr_header_set_follow_alias (snd_instr_header_t *info, int val) |
Set the flag to follow alias of an instr_header container. |
|
copy one snd_instr_header_t to another
|
|
frees a previously allocated snd_instr_header_t
|
|
Get the data alias of an instr_header container.
|
|
Get the cluster id of an instr_header container.
|
|
Get the command of an instr_header container.
|
|
Get the extra data pointer of an instr_header container.
|
|
Get the flag to follow alias of an instr_header container.
|
|
Get the data format of an instr_header container.
|
|
Get the instrument id of an instr_header container.
|
|
Get the length of extra data of an instr_header container.
|
|
Get the data name of an instr_header container.
|
|
Get the data type of an instr_header container.
|
|
allocate an empty snd_instr_header_t using standard malloc
|
|
Set the data alias id of an instr_header container.
|
|
Set the cluster id of an instr_header container.
|
|
Set the command of an instr_header container.
|
|
Set the flag to follow alias of an instr_header container.
|
|
Set the data format of an instr_header container.
|
|
Set the instrument id of an instr_header container.
|
|
Set the length of extra data of an instr_header container.
|
|
Set the data name of an instr_header container.
|
|
Set the data type of an instr_header container.
|
|
get size of snd_instr_header_t
|
|
allocate a queue with the specified name
|
|
allocate a queue
|
|
Get the client id.
|
|
copy one snd_seq_client_info_t to another
|
|
frees a previously allocated snd_seq_client_info_t
|
|
Get the broadcast filter usage of a client_info container.
|
|
Get client id of a client_info container.
|
|
Get the error-bounce usage of a client_info container.
|
|
Get the event filter bitmap of a client_info container.
|
|
Get the number of lost events of a client_info container.
|
|
Get the name of a client_info container.
|
|
Get the number of opened ports of a client_info container.
|
|
Get client type of a client_info container.
|
|
allocate an empty snd_seq_client_info_t using standard malloc
|
|
Set the broadcast filter usage of a client_info container.
|
|
Set the client id of a client_info container.
|
|
Set the error-bounce usage of a client_info container.
|
|
Set the event filter bitmap of a client_info container.
|
|
Set the name of a client_info container.
|
|
get size of snd_seq_client_info_t
|
|
copy one snd_seq_client_pool_t to another
|
|
frees a previously allocated snd_seq_client_pool_t
|
|
Get the client id of a queue_info container.
|
|
Get the available size on input pool of a queue_info container.
|
|
Get the input pool size of a queue_info container.
|
|
Get the available size on output pool of a queue_info container.
|
|
Get the output pool size of a queue_info container.
|
|
Get the output room size of a queue_info container.
|
|
allocate an empty snd_seq_client_pool_t using standard malloc
|
|
Set the input pool size of a queue_info container.
|
|
Set the output pool size of a queue_info container.
|
|
Set the output room size of a queue_info container.
|
|
get size of snd_seq_client_pool_t
|
|
Close the sequencer.
|
|
create a sequencer port on the current client
The client field in info argument is overwritten with the current client id. The port id to be created can be specified via snd_seq_port_info_set_port_specified. You can get the created port id by reading the port pointer via snd_seq_port_info_get_port. Each port has the capability bit-masks to specify the access capability of the port from other clients. The capability bit flags are defined as follows:
|
|
create a queue
|
|
delete a sequencer port on the current client
|
|
drain output buffer to sequencer
|
|
clear input buffer and and remove events in sequencer queue
|
|
remove all events on user-space input FIFO
|
|
remove all events on output buffer
|
|
remove all events on user-space output buffer
|
|
retrieve an event from sequencer
If there is no input from sequencer, function falls into sleep in blocking mode until an event is received, or returns Function returns the byte size of remaining events on the input buffer if an event is successfully received. Application can determine from the returned value whether to call input once more or not. |
|
check events in input buffer
|
|
calculates the (encoded) byte-stream size of the event
|
|
output an event
If events remain unprocessed on output buffer before drained, the size of total byte data on output buffer is returned. If the output buffer is empty, this returns zero. |
|
output an event onto the lib buffer without draining buffer
|
|
output an event directly to the sequencer NOT through output buffer
|
|
return the size of pending events on output buffer
|
|
extract the first event in output buffer
|
|
(DEPRECATED) free an event releases the event pointer which was allocated by snd_seq_event_input(). this function is obsolete and does nothing inside actually. used only for compatibility with the older version. |
|
delete the specified queue
|
|
obtain the information of the given client
|
|
obtain the information of a port on an arbitrary client
|
|
obtain the current client information
|
|
obtain the pool information of the current client
|
|
Return the size of input buffer.
|
|
Return the size of output buffer.
|
|
obtain the information of a port on the current client
|
|
obtain subscription information
|
|
obtain queue attributes
|
|
obtain the running state of the queue
|
|
obtain the current tempo of the queue
|
|
obtain the queue timer information
|
|
Get the queue usage flag to the client.
|
|
get identifier of sequencer handle
|
|
Set nonblock mode.
|
|
Open the ALSA sequencer.
|
|
Open the ALSA sequencer using local configuration.
|
|
Get poll descriptors.
|
|
Returns the number of poll descriptors.
POLLIN|POLLOUT |
|
get returned events from poll descriptors
|
|
copy one snd_seq_port_info_t to another
|
|
frees a previously allocated snd_seq_port_info_t
|
|
Get client/port address of a port_info container.
|
|
Get the capability bits of a port_info container.
|
|
Get client id of a port_info container.
|
|
Get the midi channels of a port_info container.
|
|
Get the midi voices of a port_info container.
|
|
Get the name of a port_info container.
|
|
Get port id of a port_info container.
|
|
Get the port-specified mode of a port_info container.
|
|
Get the number of read subscriptions of a port_info container.
|
|
Get the synth voices of a port_info container.
|
|
Get the queue id to update timestamps.
|
|
Get whether the time-stamping of the given port is real-time mode.
|
|
Get the time-stamping mode of the given port in a port_info container.
|
|
Get the type bits of a port_info container.
|
|
Get the number of write subscriptions of a port_info container.
|
|
allocate an empty snd_seq_port_info_t using standard malloc
|
|
Set the client/port address of a port_info container.
|
|
set the capability bits of a port_info container
|
|
Set the client id of a port_info container.
|
|
set the midi channels of a port_info container
|
|
set the midi voices of a port_info container
|
|
Set the name of a port_info container.
|
|
Set the port id of a port_info container.
|
|
Set the port-specified mode of a port_info container.
|
|
set the synth voices of a port_info container
|
|
Set the queue id for timestamping.
|
|
Set whether the timestime is updated in the real-time mode.
|
|
Set the time-stamping mode of the given port.
|
|
Get the type bits of a port_info container.
|
|
get size of snd_seq_port_info_t
|
|
copy one snd_seq_port_subscribe_t to another
|
|
frees a previously allocated snd_seq_port_subscribe_t
|
|
Get destination address of a port_subscribe container.
|
|
Get the exclusive mode of a port_subscribe container.
|
|
Get the queue id of a port_subscribe container.
|
|
Get sender address of a port_subscribe container.
|
|
Get the real-time update mode of a port_subscribe container.
|
|
Get the time-update mode of a port_subscribe container.
|
|
allocate an empty snd_seq_port_subscribe_t using standard malloc
|
|
Set destination address of a port_subscribe container.
|
|
Set the exclusive mode of a port_subscribe container.
|
|
Set the queue id of a port_subscribe container.
|
|
Set sender address of a port_subscribe container.
|
|
Set the real-time mode of a port_subscribe container.
|
|
Set the time-update mode of a port_subscribe container.
|
|
Set the voices of a port_subscribe container.
|
|
get size of snd_seq_port_subscribe_t
|
|
query the matching queue with the specified name
|
|
query the next matching client
|
|
query the next matching port
If a matching port is found, its attributes are stored on info and function returns zero. Otherwise, a negative error code is returned. |
|
query port subscriber list
|
|
copy one snd_seq_query_subscribe_t to another
|
|
frees a previously allocated snd_seq_query_subscribe_t
|
|
Get the address of subscriber of a query_subscribe container.
|
|
Get the client id of a query_subscribe container.
|
|
Get the exclusive mode of a query_subscribe container.
|
|
Get the index of subscriber of a query_subscribe container.
|
|
Get the number of subscriptions of a query_subscribe container.
|
|
Get the port id of a query_subscribe container.
|
|
Get the queue id of subscriber of a query_subscribe container.
|
|
Get the client/port address of a query_subscribe container.
|
|
Get the real-time update mode of a query_subscribe container.
|
|
Get the time-update mode of a query_subscribe container.
|
|
Get the query type of a query_subscribe container.
|
|
allocate an empty snd_seq_query_subscribe_t using standard malloc
|
|
Set the client id of a query_subscribe container.
|
|
Set the subscriber's index to be queried.
|
|
Set the port id of a query_subscribe container.
|
|
Set the client/port address of a query_subscribe container.
|
|
Set the query type of a query_subscribe container.
|
|
get size of snd_seq_query_subscribe_t
|
|
copy one snd_seq_queue_info_t to another
|
|
frees a previously allocated snd_seq_queue_info_t
|
|
Get the conditional bit flags of a queue_info container.
|
|
Get the lock status of a queue_info container.
|
|
Get the name of a queue_info container.
|
|
Get the owner client id of a queue_info container.
|
|
Get the queue id of a queue_info container.
|
|
allocate an empty snd_seq_queue_info_t using standard malloc
|
|
Set the conditional bit flags of a queue_info container.
|
|
Set the lock status of a queue_info container.
|
|
Set the name of a queue_info container.
|
|
Set the owner client id of a queue_info container.
|
|
get size of snd_seq_queue_info_t
|
|
copy one snd_seq_queue_status_t to another
|
|
frees a previously allocated snd_seq_queue_status_t
|
|
Get the number of events of a queue_status container.
|
|
Get the queue id of a queue_status container.
|
|
Get the real time of a queue_status container.
|
|
Get the running status bits of a queue_status container.
|
|
Get the tick time of a queue_status container.
|
|
allocate an empty snd_seq_queue_status_t using standard malloc
|
|
get size of snd_seq_queue_status_t
|
|
copy one snd_seq_queue_tempo_t to another
|
|
frees a previously allocated snd_seq_queue_tempo_t
|
|
Get the ppq of a queue_status container.
|
|
Get the queue id of a queue_status container.
|
|
Get the timer skew value of a queue_status container.
|
|
Get the timer skew base value of a queue_status container.
|
|
Get the tempo of a queue_status container.
|
|
allocate an empty snd_seq_queue_tempo_t using standard malloc
|
|
Set the ppq of a queue_status container.
|
|
Set the timer skew value of a queue_status container.
|
|
Set the timer skew base value of a queue_status container.
|
|
Set the tempo of a queue_status container.
|
|
get size of snd_seq_queue_tempo_t
|
|
copy one snd_seq_queue_timer_t to another
|
|
frees a previously allocated snd_seq_queue_timer_t
|
|
Get the timer id of a queue_timer container.
|
|
Get the queue id of a queue_timer container.
|
|
Get the timer resolution of a queue_timer container.
|
|
Get the timer type of a queue_timer container.
|
|
allocate an empty snd_seq_queue_timer_t using standard malloc
|
|
Set the timer id of a queue_timer container.
|
|
Set the timer resolution of a queue_timer container.
|
|
Set the timer type of a queue_timer container.
|
|
get size of snd_seq_queue_timer_t
|
|
remove events on input/output buffers
|
|
copy one snd_seq_remove_events_t to another
|
|
frees a previously allocated snd_seq_remove_events_t
|
|
Get the event channel as removal condition.
|
|
Get the removal condition bits.
|
|
Get the event destination address as removal condition.
|
|
Get the event type as removal condition.
|
|
Get the queue as removal condition.
|
|
Get the event tag id as removal condition.
|
|
Get the event timestamp as removal condition.
|
|
allocate an empty snd_seq_remove_events_t using standard malloc
|
|
Set the channel as removal condition.
|
|
Set the removal condition bits.
|
|
Set the destination address as removal condition.
|
|
Set the event type as removal condition.
|
|
Set the queue as removal condition.
|
|
Set the event tag as removal condition.
|
|
Set the timestamp as removal condition.
|
|
get size of snd_seq_remove_events_t
|
|
set the current client information
|
|
set the pool information
|
|
Resize the input buffer.
|
|
Change the size of output buffer.
|
|
set the information of a port on the current client
|
|
change the queue attributes
|
|
set the tempo of the queue
|
|
set the queue timer information
|
|
Set the queue usage flag to the client.
|
|
subscribe a port connection
|
|
obtain the sequencer system information
|
|
Copy one snd_seq_system_info_t to another.
|
|
Frees a previously allocated snd_seq_system_info_t.
|
|
Get maximum number of channels.
|
|
Get maximum number of clients.
|
|
Get the current number of clients.
|
|
Get the current number of queues.
|
|
Get maximum number of ports.
|
|
Get maximum number of queues.
|
|
Allocate an empty snd_seq_system_info_t using standard malloc.
|
|
Get size of snd_seq_system_info_t.
|
|
get type of sequencer handle
|
|
unsubscribe a connection between ports
|