snd_dma_pointer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_dma_pointer(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for snd_dma_pointer(9) β€” yes that's the whole title, we're literally at the top of the page, and no I will not be normal about it πŸ’…


✨ NAME ✨

snd_dma_pointer β€” returns the current pointer into the DMA transfer buffer, in bytes, bestie. bytes. that's the unit. periodt.


🌸 SYNOPSIS 🌸

unsigned int snd_dma_pointer (unsigned long dma , unsigned int size );

that's it. that's the whole call. two args, one return, zero drama πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dma β€” the dma number. like, which dma. the number of it. that's the vibe 🫢
  • size β€” the dma transfer size. how big the transfer is. that's the whole story, no notes πŸ”₯

⭐ RETURN ⭐

The current pointer in DMA transfer buffer, in bytes. that's it. that's the answer. the pointer, the buffer, the bytes, the current-ness of it all ✨

ngl there's no error handling talked about here, no NULL, no negative, no "if this then that" β€” it just hands you the pointer in bytes and moves on with its life 😭

πŸ‘‘ SEE ALSO πŸ‘‘

all four of these are right there, linked, iconic, no cap 🧚


and that's the whole page!! love that for us. this one came from ./sound/core, dated October 2026, and it's filed under snd_dma_pointer(9) β€” go off, kernel docs, you ate πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from