amdtp_domai..._pcm_pointer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdtp_domain_stream_pcm_pointer(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this one is short and sweet and honestly kind of iconic for it πŸ’…


🌸 NAME 🌸

amdtp_domain_stream_pcm_pointer β€” get the PCM buffer position

like, it tells you where the music is at rn πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned long amdtp_domain_stream_pcm_pointer (struct amdtp_domain *d ,
struct amdtp_stream *s );

that signature is literally the whole vibe, no cap ✨


πŸ“ ARGUMENTS πŸ“

  • d β€” the AMDTP domain. yes queen, the whole domain 🫢
  • s β€” the AMDTP stream that transports the PCM data. this is the one actually carrying the audio, main character energy fr fr πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

Returns the current buffer position, in frames.

that's it. that's the whole thing. it hands you back a buffer position and the unit is frames β€” don't forget the frames, that's the whole point πŸ™ˆ and the return type is unsigned long, so it's giving numbers, not vibes.


⭐ SEE ALSO ⭐

Kernel file ./sound/firewire/amdtp-stream.c β€” plus the whole friend group, go say hi:


okay that's the page!! sourced from ./sound/firewire, dated October 2026, filed under the Kernel API Manual β€” mwah, go read the rest of the family, they're all linked above πŸ§šβ€β™€οΈπŸ’œπŸ¦‹

πŸ“¦ where this page comes from