snd_pcm_subs...ma_direction(9)
π snd_pcm_subs...ma_direction(9) π
okay so bestie, welcome to the Kernel API Manual β yes it's a whole manual, and yes this page is short, but that just means we can give it the attention it deserves. π
β¨ NAME β¨
snd_pcm_substream_to_dma_direction β literally just here to hand you the dma_transfer_direction for a PCM substream. that's it. that's the whole job. iconic behavior honestly π«Ά
πΈ SYNOPSIS πΈ
enum dma_transfer_direction snd_pcm_substream_to_dma_direction (const
struct snd_pcm_substream *substream );
no cap, that's the exact signature β copy it character for character if you're writing it out, bestie. π
π¦ ARGUMENTS π¦
substreamβ your PCM substream. that's the one and only thing you're passing in here. π
β RETURN β
it returns the DMA transfer direction. that's the vibe check result, periodt. β¨
π₯ SEE ALSO π₯
- Kernel file
./include/sound/dmaengine_pcm.hβ go look, iykyk π - struct
snd_dmaengine_dai_dma_data(9) - struct
snd_dmaengine_pcm_config(9)
like, these are your besties for this one β check them out fr fr. π
lowkey a tiny page but every detail still ate, no skips, no summaries. π
and that's the whole thing, bestie β sending you off with all the love π β¨
source path ./include/sound, dated October 2026 β mwah, go slay those substreams π§ββοΈπ
π¦ 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