Function

ALSASeqget_queue_info_by_id

Declaration [src]

gboolean
alsaseq_get_queue_info_by_id (
  guint8 queue_id,
  ALSASeqQueueInfo** queue_info,
  GError** error
)

Description [src]

Get the information of queue, according to the numeric ID.

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

Parameters

queue_id guint8
 

The numeric ID of queue. One of ALSASeqSpecificQueueId is available as well.

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.