Scroll to navigation

SND_SOC_GET_VOLSW(9) ASoC SND_SOC_GET_VOLSW(9)

NAME

snd_soc_get_volsw - single mixer get callback

SYNOPSIS

int snd_soc_get_volsw(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

April 2019 Kernel Hackers Manual 4.9.