Name
snd_ctl_new —
create a control instance from the template
Synopsis
snd_kcontrol_t * snd_ctl_new (
snd_kcontrol_t * control, unsigned int access)
;
Arguments
control
the control template
access
the default control access
Description
Allocates a new snd_kcontrol_t instance and copies the given template
to the new instance. It does not copy volatile data (access).
Returns the pointer of the new instance, or NULL on failure.