---
name: "snd_soc_dapm_new_controls"
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_soc_dapm_new_controls"
---

# snd\_soc\_dapm\_new\_controls(9)

create new dapm controls

## NAME

snd\_soc\_dapm\_new\_controls - create new dapm controls

## SYNOPSIS

**int snd\_soc\_dapm\_new\_controls(struct snd\_soc\_dapm\_context \*** *dapm***, const struct snd\_soc\_dapm\_widget \*** *widget***, int** *num***);**

## ARGUMENTS

*dapm*

DAPM context

*widget*

widget array

*num*

number of widgets

## DESCRIPTION

Creates new DAPM controls based upon the templates.

Returns 0 for success else error.

## COPYRIGHT
