Scroll to navigation

SND_SOC_GET_VOLSW_SX(9) ASoC SND_SOC_GET_VOLSW_SX(9)

NAME

snd_soc_get_volsw_sx - single mixer get callback

SYNOPSIS

int snd_soc_get_volsw_sx(struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucontrol);

ARGUMENTS

kcontrol
mixer control
ucontrol
control element information

DESCRIPTION

Callback to get the value of a single mixer control, or a double mixer control that spans 2 registers.
Returns 0 for success.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.