Method

ALSATimerUserInstanceget_info

Declaration [src]

gboolean
alsatimer_user_instance_get_info (
  ALSATimerUserInstance* self,
  ALSATimerInstanceInfo** instance_info,
  GError** error
)

Description [src]

Return the information of device if attached to the instance.

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

Parameters

instance_info ALSATimerInstanceInfo
 

A ALSATimerInstanceInfo.

 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.