snd_seq_system_info

Name

snd_seq_system_info -- obtain the sequencer system information

Synopsis

int snd_seq_system_info(snd_seq_t *handle, snd_seq_system_info_t *info);

Description

Stores the global system information of ALSA sequencer system on info argument. If an error occurs, function returns the negative error code.

The returned data contains the maximum available numbers of queues, clients, ports and channels.

/* system information */
typedef struct {
	int queues;			/* maximum queues count */
	int clients;			/* maximum clients count */
	int ports;			/* maximum ports per client */
	int channels;			/* maximum channels per port */
	char reserved[32];
} snd_seq_system_info_t;