Function
ALSASeqget_port_id_list
Declaration [src]
gboolean
alsaseq_get_port_id_list (
guint8 client_id,
guint8** entries,
gsize* entry_count,
GError** error
)
Description [src]
Get the list of numeric identifiers for port added by the client.
The call of function executes open(2)``, ``close(2)``, and ``ioctl(2)`` system calls with
SNDRV_SEQ_IOCTL_GET_CLIENT_INFOand
SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT` commands for ALSA
sequencer character device.
Parameters
client_id |
guint8 |
The numeric ID of client to query. One of |
|
entries |
An array of guint8* |
The array with elements for numeric identifier of
port. One of |
|
The argument will be set by the function. | |
The length of the array is specified in the entry_count argument. | |
The called function takes ownership of the data, and is responsible for freeing it. | |
entry_count |
gsize* |
The number of entries in the array. |
|
The argument will be set by the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |