Method

ALSASeqUserClientset_queue_usage

Declaration [src]

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

Description [src]

Start the queue to use or not.

The call of function executes ioctl(2) system call with SNDRV_SEQ_IOCTL_SET_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 to use the queue or not.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.