Method

ALSASeqUserClientcreate_queue

Declaration [src]

gboolean
alsaseq_user_client_create_queue (
  ALSASeqUserClient* self,
  ALSASeqQueueInfo* const* queue_info,
  GError** error
)

Description [src]

Create a new queue owned by the client. The content of information is updated if success.

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

Parameters

queue_info ALSASeqQueueInfo
 

The information of queue to add.

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