Method

ALSATimerUserInstanceopen

Declaration [src]

gboolean
alsatimer_user_instance_open (
  ALSATimerUserInstance* self,
  gint open_flag,
  GError** error
)

Description [src]

Open ALSA Timer character device to allocate queue.

The call of function executes open(2) system call for ALSA timer character device.

Parameters

open_flag gint
 

The flag of open(2) system call. O_RDONLY is forced to fulfil internally.

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

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.