set_link_hw_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual page for set_link_hw_format(9) β€” the one that sets the HW audio format of the physical DAI link, and it's lowkey iconic πŸ’…βœ¨


✨ NAME ✨

set_link_hw_format β€” Set the HW audio format of the physical DAI link.

🌸 SYNOPSIS 🌸

       void set_link_hw_format (struct snd_soc_dai_link *link , struct
       snd_soc_tplg_link_config *cfg );

🫢 ARGUMENTS 🫢

  • link β€” the snd_soc_dai_link that should be updated. This is the main-character link getting its update, no cap πŸŽ€
  • cfg β€” physical link configs. Yep, that's the config package right there πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: the topology context contains a list of supported HW formats (configs) and a default format ID for the physical link. This function will use this default ID to choose the HW format to set the link's DAI format for init. That's literally the whole vibe πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’– this page is serving source/version ./sound/soc, dated October 2026. periodt ✨🫢

πŸ“¦ where this page comes from