snd_hda_gen_hp_automute(9)
π 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, orNULLfor 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:
snd_hda_gen_spec_init(9)snd_hda_gen_add_kctl(9)snd_hda_get_path_idx(9)snd_hda_get_path_from_idx(9)snd_hda_add_new_path(9)snd_hda_activate_path(9)snd_hda_gen_add_mute_led_cdev(9)snd_hda_gen_add_micmute_led_cdev(9)snd_hda_gen_fix_pin_power(9)snd_hda_gen_update_outputs(9)snd_hda_gen_line_automute(9)snd_hda_gen_mic_autoswitch(9)snd_hda_gen_path_power_filter(9)snd_hda_gen_stream_pm(9)snd_hda_gen_shutup_speakers(9)snd_hda_gen_parse_auto_config(9)snd_hda_gen_build_controls(9)snd_hda_gen_build_pcms(9)snd_hda_gen_init(9)snd_hda_gen_remove(9)snd_hda_gen_check_power_status(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms