Method

ALSASeqUserClientget_queue_usage

Declaration [src]

gboolean
alsaseq_user_client_get_queue_usage (
  ALSASeqUserClient* self,
  guint8 queue_id,
  gboolean* use,
  GError** error
)

Description [src]

Get usage of the queue by the client.

The call of function executes ioctl(2) system call with SNDRV_SEQ_IOCTL_GET_QUEUE_CLIENT command for ALSA sequencer character device.

Parameters

queue_id guint8
 

The numeric ID of queue. An entry of ALSASeqSpecificQueueId is available as well.

use gboolean*
 

Whether the client uses the queue or not.

 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.