snd_soc_put_enum_double(9)
β¨ snd_soc_put_enum_double(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one lives in the ALSA SoC corner of the kernel and it's lowkey iconic. Let's get into it π
πΈ NAME πΈ
snd_soc_put_enum_double β the enumerated double mixer put callback. yes, "put". no, it's not a golf thing. it's the setter. π
π¦ SYNOPSIS π¦
int snd_soc_put_enum_double (struct snd_kcontrol *kcontrol , struct
snd_ctl_elem_value *ucontrol );
that's the whole vibe. two args, one int coming back at you. periodt β¨
π ARGUMENTS π
kcontrolβ the mixer control. main character energy right here πucontrolβ the control element information. all the deets π
π DESCRIPTION π
so like, this is the callback that sets the value of a double enumerated mixer. that's the whole job. she's straightforward, she's reliable, she ate and left no crumbs πβ¨
Returns 0 for success. that's it. zero means we slayed. π«Ά
π₯ SEE ALSO π₯
this is the group chat of related functions, no cap. all of them are fr fr in the kernel file ./sound/soc/soc-ops.c π
snd_soc_info_enum_double(9)snd_soc_get_enum_double(9)snd_soc_info_volsw(9)snd_soc_info_volsw_sx(9)snd_soc_get_volsw(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)
β friendly reminder: everything above is exactly what the page says β I'm just here to make it cute, not to invent lore. iykyk π§
and that's the tea! π΅ this lil page lives down in ./sound/soc, and it's dated October 2026 from the Kernel API Manual. mwah, go forth and set your enums πππ¦
π¦ 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