snd_soc_runtime_calc_hw(9)
π NAME π
ok so bestie, this is snd_soc_runtime_calc_hw β it literally calculates the hw limits for a PCM stream β¨ that's the whole vibe, no cap.
πΈ SYNOPSIS πΈ
int snd_soc_runtime_calc_hw (struct snd_soc_pcm_runtime *rtd , struct
snd_pcm_hardware *hw , int stream );
π ARGUMENTS π
rtdβ the ASoC PCM runtime, the main character of this whole saga πhwβ the PCM hardware parameters. heads up bestie, this one is an output β it's giving "results go here" πstreamβ which direction the PCM stream is going π¦
β¨ DESCRIPTION β¨
okay so what this does: it calculates the subset of stream parameters that are supported by all the DAIs associated with the PCM stream. every single one of them has to agree β it's a group project and they all gotta sign off fr fr π«Ά
β SEE ALSO β
- Kernel file
./sound/soc/soc-pcm.c snd_soc_runtime_action(9)snd_soc_runtime_ignore_pmdown_time(9)
and that's the whole page, bestie, you ate that π go read the other two, iykyk π
πΈ mwah, this was brought to you by the ./sound/soc girlies, dated October 2026, and yes the page is literally called snd_soc_runtime_calc_hw(9) β see you in the group chat β¨ππ
π¦ 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