hda_get_autocfg_input_label(9)
π 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, anint, 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 π
- Kernel file
./sound/hda/common/auto_parser.c snd_hda_get_input_pin_attr(9)hda_get_input_pin_label(9)snd_hda_get_pin_label(9)snd_hda_add_verbs(9)snd_hda_apply_verbs(9)snd_hda_apply_pincfgs(9)snd_hda_apply_fixup(9)snd_hda_pick_pin_fixup(9)snd_hda_pick_fixup(9)
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
- 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