snd_soc_cnew
Prev | ASoC Core API | Next

## Name

snd_soc_cnew — create new control

## Synopsis

`struct snd_kcontrol * snd_soc_cnew (` | const struct snd_kcontrol_new * _template,
| void * data,
| const char * long_name,
| const char * prefix`)`;

## Arguments

`_template`

  control template

`data`

  control private data

`long_name`

  control long name

`prefix`

  control name prefix

## Description

Create a new mixer control from a template control.

Returns 0 for success, else error.

Prev | Up | Next
snd_soc_runtime_set_dai_fmt | Home | snd_soc_add_component_controls