snd_soc_put_enum_double(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘€

⭐ 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