snd_dmaengine_pcm_close(9)
β¨ snd_dmaengine_pcm_close β¨
okay bestie, so this is a page out of the Kernel API Manual β yes, the real one, the snd_dmaengine_pcm_close(9) glow-up π β and it's literally just one tiny function that closes out a dmaengine-based PCM substream. short king behavior, we love to see it π
πΈ NAME πΈ
snd_dmaengine_pcm_close β close a dmaengine based PCM substream. that's it, that's the whole vibe. she does one thing and she does it iconically π¦
π«Ά SYNOPSIS π«Ά
int snd_dmaengine_pcm_close (struct snd_pcm_substream *substream );
like, look at her. one parameter. no drama. main character energy fr fr π₯
π ARGUMENTS π
substreamβ the PCM substream. that's the thing you're closing, bestie, the actual substream in question. she's the whole point of the function, no cap π
β RETURN β
0 on success, and a negative error code otherwise. so like β zero means slay, anything negative means something went sideways and you should probably go look at it π
π¦ SEE ALSO π¦
the whole friend group, honestly. the kernel file lives right here:
- Kernel file
./sound/core/pcm_dmaengine.c
and then the rest of the crew, all of them, in order, no skips π
snd_hwparams_to_dma_slave_config(9)snd_dmaengine_pcm_set_config_from_dai_data(9)snd_dmaengine_pcm_trigger(9)snd_dmaengine_pcm_pointer_no_residue(9)snd_dmaengine_pcm_pointer(9)snd_dmaengine_pcm_request_channel(9)snd_dmaengine_pcm_open(9)snd_dmaengine_pcm_close_release_chan(9)snd_dmaengine_pcm_refine_runtime_hwparams(9)
ngl if you're readingsnd_dmaengine_pcm_closeyou probably wantsnd_dmaengine_pcm_open(9)too β they're giving matched set π
and that's the whole page, bestie!! π sourced from ./sound/core, dated October 2026, and shipped in the Kernel API Manual under snd_dmaengine_pcm_close(9). go close that substream, 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