snd_soc_register_dai(9)
π snd_soc_register_dai(9) π
okay so welcome to the Kernel API Manual page for snd_soc_register_dai(9), bestie. This is the one about registering a DAI dynamically and creating its widgets. slay β¨
πΈ NAME πΈ
snd_soc_register_dai β Register a DAI dynamically & create its widgets
β¨ SYNOPSIS β¨
The signature is giving exactly this:
struct snd_soc_dai * snd_soc_register_dai (struct snd_soc_component
*component , struct snd_soc_dai_driver *dai_drv , bool legacy_dai_naming
);
π ARGUMENTS π
componentβ The component the DAIs are registered fordai_drvβ DAI driver to use for the DAIlegacy_dai_namingβ iftrue, use legacy single-name format; iffalse, use multiple-name format;
π DESCRIPTION π
Topology can use this API to register DAIs when probing a component. These DAIs's widgets will be freed in the card cleanup and the DAIs will be freed in the component cleanup. <em>no cap</em>, thatβs the whole vibe. π«Ά
π¦ SEE ALSO π¦
The kernel file is ./sound/soc/soc-core.c β and hereβs the whole SEE ALSO squad, bestie:
snd_soc_find_dai(9)snd_soc_remove_pcm_runtime(9)snd_soc_add_pcm_runtime(9)snd_soc_runtime_set_dai_fmt(9)snd_soc_set_dmi_name(9)snd_soc_cnew(9)snd_soc_add_component_controls(9)snd_soc_add_card_controls(9)snd_soc_add_dai_controls(9)snd_soc_register_card(9)snd_soc_unregister_card(9)snd_soc_unregister_dais(9)snd_soc_register_dais(9)snd_soc_unregister_component_by_driver(9)
mwah π β source/version vibes: ./sound/soc, date: October 2026, and this was the snd_soc_register_dai(9) manual entry. bye bestie, go register those DAIs β¨π«Ά
π¦ 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