set_link_hw_format(9)
π set_link_hw_format(9)
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β thesnd_soc_dai_linkthat 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 π
- Kernel file
./sound/soc/soc-topology.cβ yes bestie, the kernel file π«Ά snd_soc_find_dai_link(9)soc_tplg_dai_config(9)
mwah π this page is serving source/version ./sound/soc, dated October 2026. 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