Method

ALSACtlCardremove_elems

Declaration [src]

gboolean
alsactl_card_remove_elems (
  ALSACtlCard* self,
  const ALSACtlElemId* elem_id,
  GError** error
)

Description [src]

Remove user-defined elements pointed by the identifier.

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

Parameters

elem_id ALSACtlElemId
 

A ALSACtlElemId.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.