---
name: "snd_ctl_new1"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_ctl_new1"
---

# snd\_ctl\_new1(9)

create a control instance from the template

## NAME

snd\_ctl\_new1 - create a control instance from the template

## SYNOPSIS

**struct snd\_kcontrol \* snd\_ctl\_new1(const struct snd\_kcontrol\_new \*** *ncontrol***, void \*** *private\_data***);**

## ARGUMENTS

*ncontrol*

the initialization record

*private\_data*

the private data to set

## DESCRIPTION

Allocates a new struct snd\_kcontrol instance and initialize from the given template. When the access field of ncontrol is 0, it's assumed as READWRITE access. When the count field is 0, it's assumes as one.

## RETURN

The pointer of the newly generated instance, or **NULL** on failure.

## COPYRIGHT
