snd_soc_get_volsw(9)
π snd_soc_get_volsw(9) π
okay bestie, welcome to the Kernel API Manual page for snd_soc_get_volsw(9) β yes, the title is literally right there and we are already obsessed. π
πΈ NAME πΈ
snd_soc_get_volsw β single mixer get callback with range β¨
π¦ SYNOPSIS π¦
here's the signature, verbatim, because we do not mess with source code in this house π
int snd_soc_get_volsw (struct snd_kcontrol *kcontrol , struct
snd_ctl_elem_value *ucontrol );
π ARGUMENTS π
kcontrolβ mixer control ποΈucontrolβ control element information π
π DESCRIPTION π
so basically, this is the callback to get the value β within a range β of a single mixer control, or a double mixer control that spans 2 registers. that's the whole assignment, no cap. ποΈβ¨
it returns 0 for success. zero = slay. β
π SEE ALSO π
the kernel file is ./sound/soc/soc-ops.c, and the whole bestie lineup is:
snd_soc_info_enum_double(9)snd_soc_get_enum_double(9)snd_soc_put_enum_double(9)snd_soc_info_volsw(9)snd_soc_info_volsw_sx(9)snd_soc_put_volsw(9)snd_soc_get_volsw_sx(9)snd_soc_put_volsw_sx(9)snd_soc_limit_volume(9)snd_soc_info_xr_sx(9)snd_soc_get_xr_sx(9)snd_soc_put_xr_sx(9)snd_soc_get_strobe(9)snd_soc_put_strobe(9)
later bestie π this little page's source/version is ./sound/soc, and its date is October 2026. mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms