snd_soc_add_pcm_runtime(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ snd_soc_add_pcm_runtime(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this one's a little function from ./sound/soc that does exactly what its name says, and honestly? it's giving "small but mighty" πŸ’…

🌸 NAME 🌸

snd_soc_add_pcm_runtime β€” the girl that adds a pcm_runtime dynamically via dai_link, no cap 🫢

⭐ SYNOPSIS ⭐

int snd_soc_add_pcm_runtime (struct snd_soc_card *card , struct
snd_soc_dai_link *dai_link );

like, that's the whole signature, keep it exactly like that pls 😭

πŸŽ€ ARGUMENTS πŸŽ€

  • card β€” the ASoC card that the pcm_runtime gets added to. it's the main character here πŸ‘‘
  • dai_link β€” the DAI link we use to find the pcm_runtime. iykyk

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically this function adds a pcm_runtime to an ASoC card, and it does it by using dai_link. that's it, that's the vibe. lowkey elegant, fr fr ✨

πŸ’œ NOTE πŸ’œ

bestie, write this one down πŸ“

Topology can use this API to add pcm_runtime when it's probing the topology component. and machine drivers? they can still define static DAI links in the dai_link array. both things, no conflict, we love to see it πŸ’–


🌈 SEE ALSO 🌈

like, the whole friend group 😭🫢 go say hi to all of them


and that's the page!! mwah πŸ’‹ this cutie ships out of ./sound/soc in October 2026 β€” mark your calendars bestie, she's an icon, she's a legend, and she is the moment πŸŒŸπŸŽ€πŸ’…

πŸ“¦ where this page comes from