Method

ALSATimerUserInstanceset_params

Declaration [src]

gboolean
alsatimer_user_instance_set_params (
  ALSATimerUserInstance* self,
  ALSATimerInstanceParams* const* instance_params,
  GError** error
)

Description [src]

Configure the instance with the parameters and return the latest parameters.

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

Parameters

instance_params ALSATimerInstanceParams
 

A ALSATimerInstanceParams.

 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.