Method

ALSASeqUserClientget_queue_timer

Declaration [src]

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

Description [src]

Get the data of timer for the queue.

The call of function executes ioctl(2) system call with SNDRV_SEQ_IOCTL_GET_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 argument will be set by the function.
 The instance 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.