Function

ALSASeqget_queue_info_by_name

Declaration [src]

gboolean
alsaseq_get_queue_info_by_name (
  const gchar* name,
  ALSASeqQueueInfo** queue_info,
  GError** error
)

Description [src]

Get the information of queue, according to the name string.

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

Parameters

name const gchar*
 

The name string of queue to query.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
queue_info ALSASeqQueueInfo
 

The information of queue.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.