Method

ALSATimerUserInstanceget_status

Declaration [src]

gboolean
alsatimer_user_instance_get_status (
  ALSATimerUserInstance* self,
  ALSATimerInstanceStatus* const* instance_status,
  GError** error
)

Description [src]

Get the latest status of instance.

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

Parameters

instance_status ALSATimerInstanceStatus
 

A ALSATimerInstanceStatus.

 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.