Function

ALSASeqget_client_id_list

Declaration [src]

gboolean
alsaseq_get_client_id_list (
  guint8** entries,
  gsize* entry_count,
  GError** error
)

Description [src]

Get the list of clients as the numeric identifier.

The call of function executes open(2)``, ``close(2)``, and ``ioctl(2)`` system calls withSNDRV_SEQ_IOCTL_CLIENT_ID,SNDRV_SEQ_IOCTL_SYSTEM_INFO, andSNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT` command for ALSA sequencer character device.

Parameters

entries An array of guint8*
 

The array with elements for numeric identified of client. One of ALSASeqSpecificClientId can be included in result as well as any numeric value.

 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.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.