.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SND_CTL_NEW" "" "06 October 2005" "" ""
.SH NAME
snd_ctl_new \- create a control instance from the template
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
snd_kcontrol_t * snd_ctl_new (snd_kcontrol_t * \fIcontrol\fB, unsigned int \fIaccess\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcontrol\fB\fR
the control template
.TP
\fB\fIaccess\fB\fR
the default control access
.SH "DESCRIPTION"
.PP
Allocates a new snd_kcontrol_t instance and copies the given template
to the new instance. It does not copy volatile data (access).
.PP
Returns the pointer of the new instance, or NULL on failure.