snd_pcm_subs...ma_direction(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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