Method

ALSASeqUserClientset_queue_timer

Declaration [src]

gboolean
alsaseq_user_client_set_queue_timer (
  ALSASeqUserClient* self,
  guint8 queue_id,
  ALSASeqQueueTimerCommon* queue_timer,
  GError** error
)

Description [src]

Set the data of timer for the queue.

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

Parameters

queue_id guint8
 

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

queue_timer ALSASeqQueueTimerCommon
 

The data of timer for queue, which implements ALSASeqQueueTimerCommon.

 The data is owned by the caller of 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.