snd_soc_dapm_new_controls (9) - Linux Manuals

snd_soc_dapm_new_controls: 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