snd_hda_gen_hp_automute(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_hda_gen_hp_automute(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes we're in that part of the kernel, the sound one, and today's main character is the standard HP-automute helper πŸŽ§πŸ’… ngl she's small but she's doing important work.


🌸 NAME 🌸

snd_hda_gen_hp_automute β€” the standard HP-automute helper, periodt πŸŽ€


✨ SYNOPSIS ✨

void snd_hda_gen_hp_automute (struct hda_codec *codec , struct
       hda_jack_callback *jack );

like, that's the whole signature, she takes two things and hands back void (she's a giver, not a taker 🫢).


πŸ¦‹ ARGUMENTS πŸ¦‹

  • codec β€” the HDA codec πŸ’œ iykyk, she lives here.
  • jack β€” the jack object, or NULL for the whole 🌈 (yep, that's literally what the manpage says, no notes, we respect it).

πŸ”₯ SEE ALSO πŸ”₯

obsessed with how long this list is, honestly it's giving "linked in the group chat at 2am" energy 😭 everything here lives in the kernel file ./sound/hda/codecs/generic.c β€” go read it, she's iconic:


bestie reminder: every single one of those is a real function, don't go inventing new ones, she didn't ask for that πŸ™ˆ

and that's the whole vibe check 🧚 from ./sound/hda/codecs, dated October 2026 β€” slay, go plug in your headphones, the automute's got you πŸ‘‘πŸ’–βœ¨πŸ“

πŸ“¦ where this page comes from