Defines | |
#define | snd_seq_client_info_alloca(ptr) SND_ALLOCA(snd_seq_client_info, ptr) |
#define | snd_seq_client_pool_alloca(ptr) SND_ALLOCA(snd_seq_client_pool, ptr) |
Typedefs | |
typedef _snd_seq_client_info | snd_seq_client_info_t |
typedef enum snd_seq_client_type | snd_seq_client_type_t |
typedef _snd_seq_client_pool | snd_seq_client_pool_t |
Enumerations | |
enum | snd_seq_client_type { SND_SEQ_USER_CLIENT = 1, SND_SEQ_KERNEL_CLIENT = 2 } |
Functions | |
size_t | snd_seq_client_info_sizeof (void) |
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 *ptr) |
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_client_info (snd_seq_t *handle, snd_seq_client_info_t *info) |
obtain the current client information | |
int | snd_seq_get_any_client_info (snd_seq_t *handle, int client, snd_seq_client_info_t *info) |
obtain the information of the given client | |
int | snd_seq_set_client_info (snd_seq_t *handle, snd_seq_client_info_t *info) |
set the current client information | |
int | snd_seq_query_next_client (snd_seq_t *handle, snd_seq_client_info_t *info) |
query the next client | |
size_t | snd_seq_client_pool_sizeof (void) |
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 *ptr) |
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 *handle, snd_seq_client_pool_t *info) |
obtain the pool information of the current client | |
int | snd_seq_set_client_pool (snd_seq_t *handle, snd_seq_client_pool_t *info) |
set the pool information |
#define snd_seq_client_info_alloca | ( | ptr | ) | SND_ALLOCA(snd_seq_client_info, ptr) |
allocate a snd_seq_client_info_t container on stack
#define snd_seq_client_pool_alloca | ( | ptr | ) | SND_ALLOCA(snd_seq_client_pool, ptr) |
allocate a snd_seq_client_pool_t container on stack
typedef struct _snd_seq_client_info snd_seq_client_info_t |
client information container
typedef struct _snd_seq_client_pool snd_seq_client_pool_t |
client pool information container
typedef enum snd_seq_client_type snd_seq_client_type_t |
client types
enum snd_seq_client_type |
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
dst | pointer to destination | |
src | pointer to source |
void snd_seq_client_info_free | ( | snd_seq_client_info_t * | obj | ) |
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.
info | client_info container |
int snd_seq_client_info_get_client | ( | const snd_seq_client_info_t * | info | ) |
Get client id of a client_info container.
info | 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.
info | 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.
info | 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.
info | 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.
info | 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.
info | 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.
info | client_info container |
int snd_seq_client_info_malloc | ( | snd_seq_client_info_t ** | ptr | ) |
allocate an empty snd_seq_client_info_t using standard malloc
ptr | returned pointer |
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.
info | client_info container | |
val | non-zero if broadcast is accepted |
void snd_seq_client_info_set_client | ( | snd_seq_client_info_t * | info, | |
int | client | |||
) |
Set the client id of a client_info container.
info | client_info container | |
client | client id |
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.
info | client_info container | |
val | non-zero if error is bounced |
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.
info | client_info container | |
filter | event filter bitmap |
void snd_seq_client_info_set_name | ( | snd_seq_client_info_t * | info, | |
const char * | name | |||
) |
Set the name of a client_info container.
info | client_info container | |
name | name string |
size_t snd_seq_client_info_sizeof | ( | void | ) |
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
dst | pointer to destination | |
src | pointer to source |
void snd_seq_client_pool_free | ( | snd_seq_client_pool_t * | obj | ) |
int snd_seq_client_pool_get_client | ( | const snd_seq_client_pool_t * | info | ) |
Get the client id of a queue_info container.
info | client_pool 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.
info | client_pool 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.
info | client_pool 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.
info | client_pool 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.
info | client_pool 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.
info | client_pool container |
int snd_seq_client_pool_malloc | ( | snd_seq_client_pool_t ** | ptr | ) |
allocate an empty snd_seq_client_pool_t using standard malloc
ptr | returned pointer |
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.
info | client_pool container | |
size | input pool size |
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.
info | client_pool container | |
size | output pool size |
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.
info | client_pool container | |
size | output room size |
size_t snd_seq_client_pool_sizeof | ( | void | ) |
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
seq | sequencer handle | |
client | client id | |
info | the pointer to be stored |
int snd_seq_get_client_info | ( | snd_seq_t * | seq, | |
snd_seq_client_info_t * | info | |||
) |
obtain the current client information
seq | sequencer handle | |
info | the pointer to be stored |
int snd_seq_get_client_pool | ( | snd_seq_t * | seq, | |
snd_seq_client_pool_t * | info | |||
) |
obtain the pool information of the current client
seq | sequencer handle | |
info | information to be stored |
int snd_seq_query_next_client | ( | snd_seq_t * | seq, | |
snd_seq_client_info_t * | info | |||
) |
query the next client
seq | sequencer handle | |
info | query pattern and result |
int snd_seq_set_client_info | ( | snd_seq_t * | seq, | |
snd_seq_client_info_t * | info | |||
) |
set the current client information
seq | sequencer handle | |
info | the client info data to set |
int snd_seq_set_client_pool | ( | snd_seq_t * | seq, | |
snd_seq_client_pool_t * | info | |||
) |
set the pool information
seq | sequencer handle | |
info | information to update |