Function

ALSASeqget_queue_status

Declaration [src]

gboolean
alsaseq_get_queue_status (
  guint8 queue_id,
  ALSASeqQueueStatus* const* queue_status,
  GError** error
)

Description [src]

Get current status of queue.

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

Parameters

queue_id guint8
 

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

queue_status ALSASeqQueueStatus
 

The current status of queue.

 The argument will be modified 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.