snd_hda_mixe...p_switch_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– welcome to the snd_hda_mixe...p_switch_get(9) page from the Kernel API Manual β€” yes, that whole mouthful is the title, and we're gonna get through it together ✨

πŸ’– NAME πŸ’–

  • snd_hda_mixer_amp_switch_get β€” Get callback for a standard AMP mixer switch

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • kcontrol β€” ctl element. That's the control element, bestie πŸ’…
  • ucontrol β€” pointer to get/store the data

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: the control element is supposed to have the private_value field set up via HDA_COMPOSE_AMP_VAL*() or related macros. That's the setup it's counting on, no cap 🫢

🌈 SEE ALSO 🌈

Kernel file ./sound/hda/common/codec.c β€” and then the whole referenced friend group:

mwah πŸ’‹ that's the whole page, bestie. This little legend lives in ./sound/hda/common, is dated October 2026, and answers to snd_hda_mixe...p_switch_get(9) β€” periodt 🫢

πŸ“¦ where this page comes from