hda_get_autocfg_input_label(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is hda_get_autocfg_input_label(9), straight out of the Kernel API Manual β€” and it does exactly what it says on the tin: get a label for the given input. πŸ’…

✨ SYNOPSIS ✨

const char * hda_get_autocfg_input_label (struct hda_codec *codec ,
       const struct auto_pin_cfg *cfg , int input );

πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” the HDA codec. like, the codec in question, bestie.
  • cfg β€” the parsed pin configuration. it’s already been parsed, so you don’t gotta do that part.
  • input β€” the input index number. yes, an int, and yes, it’s the index of the input.

🌸 DESCRIPTION 🌸

Get a label for the given input pin defined by the autocfg item. that’s the whole vibe. ✨

Unlike hda_get_input_pin_label, this function checks all inputs defined in autocfg and avoids the redundant mic/line prefix as much as possible. so it’s giving β€œlet me look at the whole situation before I label this pin,” and honestly? iconic. no cap. πŸ¦‹

πŸ‘‘ SEE ALSO πŸ‘‘


and that’s the page, bestie 🫢 β€” source/version is ./sound/hda/common, date is October 2026, and yes, we’re mentioning them in the cutest sign-off possible because rules are rules. periodt. πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from