snd_soc_dapm_put_volsw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_soc_dapm_put_volsw β€” like, the whole kernel API manual, but make it make sense

okay so bestie, this page is all about snd_soc_dapm_put_volsw(9) β€” a kernel API manual situation. Yes, the manual name is literally Kernel API Manual, we love that for us. And the function itself? It's the dapm mixer set callback. Short name, big job. Let's get into it πŸŽ€


✨ SYNOPSIS ✨

int snd_soc_dapm_put_volsw (struct snd_kcontrol *kcontrol , struct
snd_ctl_elem_value *ucontrol );

that's the whole signature. two args, one int coming back at ya. she's compact, she's iconic πŸ¦‹


🫢 ARGUMENTS 🫢

  • kcontrol β€” the mixer control. she's the one holding the actual kcontrol struct, main character energy fr.
  • ucontrol β€” the control element information. all the info about the element lives here πŸ’–

🌸 DESCRIPTION 🌸

so what does she do? she's a callback β€” and her whole thing is setting the value of a dapm mixer control. that's it, that's the vibe ✨

and when she's done slaying? returns 0 for success. no cap, zero means we ate πŸ’…


πŸ’œ SEE ALSO πŸ’œ

listen. the see-also section is long and we respect her for it. if you need more dapm lore, every single one of these is in ./sound/soc/soc-dapm.c πŸ‘‘


ngl the _unlocked variants and their locked siblings are giving "we're the same but one of us does the locking for you" β€” always check which one you're calling bestie, iykyk πŸ”₯

and that's the page!! source location is ./sound/soc, this is the Kernel API Manual entry for snd_soc_dapm_put_volsw(9), dated October 2026 β€” mwah, go forth and set those mixer values πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from