Function

ALSASeqget_queue_id_list

Declaration [src]

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

Description [src]

Get the list of queue in ALSA Sequencer.

The call of function executes open(2), close(2), and ioctl(2) system calls with SNDRV_SEQ_IOCTL_SYSTEM_INFO and SNDRV_SEQ_IOCTL_GET_QUEUE_INFO commands for ALSA sequencer character device.

Parameters

entries An array of guint8*
 

The array of elements for numeric identifier of queue.

 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.