---
name: "snd_soc_add_dai_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_add_dai_controls"
---

# snd\_soc\_add\_dai\_controls(9)

add an array of controls to a DAI. Convienience function to add a list of controls.

## NAME

snd\_soc\_add\_dai\_controls - add an array of controls to a DAI. Convienience function to add a list of controls.

## SYNOPSIS

**int snd\_soc\_add\_dai\_controls(struct snd\_soc\_dai \*** *dai***, const struct snd\_kcontrol\_new \*** *controls***, int** *num\_controls***);**

## ARGUMENTS

*dai*

DAI to add controls to

*controls*

array of controls to add

*num\_controls*

number of elements in the array

## DESCRIPTION

Return 0 for success, else error.

## COPYRIGHT
