snd_hda_codec_amp_stereo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Hey bestie πŸ’– you're reading snd_hda_codec_amp_stereo(9) from the Kernel API Manual, and honestly? She's a little legend. Let's get into it. 🫢✨


✨ NAME ✨

snd_hda_codec_amp_stereo β€” update the AMP stereo values

🌸 SYNOPSIS 🌸

int snd_hda_codec_amp_stereo (struct hda_codec *codec , hda_nid_t nid ,
       int direction , int idx , int mask , int val );

πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” HD-audio codec
  • nid β€” NID to read the AMP value
  • direction β€” #HDA_INPUT or #HDA_OUTPUT
  • idx β€” the index value (only for input direction)
  • mask β€” bit mask to set
  • val β€” the bits value to set

πŸ’… DESCRIPTION πŸ’…

It updates the AMP values the same way snd_hda_codec_amp_update does, but this one's for a stereo widget β€” same mask, same val, both sides getting the exact same treatment. Cute and efficient. Slay. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./sound/hda/common/codec.c β€” go read it, bestie, it's giving source scroll. πŸ“œ


That's the whole page, bestie 🫢 it lives in ./sound/hda/common, dated October 2026, and it's literally snd_hda_codec_amp_stereo(9). Periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from