snd_soc_info_enum_double(9)
π snd_soc_info_enum_double(9) π
okay so this is a page straight out of the Kernel API Manual (yes, that's the manual name, we're being official today bestie β¨) and honestly? it's a little one. a tiny little callback. but it's important so let's give it the attention it deserves π
β¨ SYNOPSIS β¨
int snd_soc_info_enum_double (struct snd_kcontrol *kcontrol , struct
snd_ctl_elem_info *uinfo );
like, that's the whole signature. short king energy π no cap.
πΈ ARGUMENTS πΈ
kcontrolβ the mixer control, bestie. that's the thing you're asking about πuinfoβ the control element information. the deets. the lore. π¦
π DESCRIPTION π
so this is a callback β¨ β and what it does is provide information about a double enumerated mixer control. yep. that's the assignment. that's the job. it just hands over the info and dips π«Ά
And when it's done being iconic? it returns 0 for success. that's it. zero. successful. slay πβ¨
lowkey the cleanest return value in the whole kernel ngl.
π¦ SEE ALSO π¦
Kernel file: ./sound/soc/soc-ops.c β go read it, iykyk π
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_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)
like, the whole friend group showed up for this one ππ truly a main character moment for the soc-ops file.
okay that's the whole thing bestie!! mwah π
this lil page lives in ./sound/soc, dropped in October 2026, and it's filed under snd_soc_info_enum_double(9) in case you need to find it again β which you will, because you're obsessed with it now, don't even lie πβ¨π
π¦ 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