snd_hda_codec_new(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

<pink>snd_hda_codec_new</pink> β€” create a HDA codec. That's the whole name, bestie. This page comes from the Kernel API Manual, and the full manual-page name is snd_hda_codec_new(9). Slay.

🌸 SYNOPSIS 🌸

okay so the signature is literally this:

int snd_hda_codec_new (struct hda_bus *bus , struct snd_card *card ,
       unsigned int codec_addr , struct hda_codec **codecp );

πŸŽ€ ARGUMENTS πŸŽ€

Four args, no skips:

  • bus β€” the bus to assign
  • card β€” card for this codec
  • codec_addr β€” the codec address
  • codecp β€” the pointer to store the generated codec

πŸ’… DESCRIPTION πŸ’…

Returns 0 if successful, or a negative error code. That's it β€” that's the return-value tea β˜•.

πŸ¦‹ SEE ALSO πŸ¦‹

The original goes full guest-list mode, so here's every single one, no cutoffs:

okay that's the whole page, mwah πŸ’‹ β€” source/version ./sound/hda/common, dated October 2026, and the manual page is snd_hda_codec_new(9). Bye bestie 🫢

πŸ“¦ where this page comes from