snd_dma_pointer(9)
π 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 π
- Kernel file
./sound/core/isadma.cβ go read the source, iykwim snd_dma_program(9)snd_dma_disable(9)snd_devm_request_dma(9)
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
- 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