amdtp_domai..._pcm_pointer(9)
β¨ 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:
amdtp_stream_init(9)amdtp_stream_destroy(9)amdtp_stream_add_pcm_hw_constraints(9)amdtp_stream_set_parameters(9)amdtp_stream_get_max_payload(9)amdtp_stream_pcm_prepare(9)amdtp_stream_start(9)amdtp_domain_stream_pcm_ack(9)amdtp_stream_update(9)amdtp_stream_stop(9)amdtp_stream_pcm_abort(9)amdtp_domain_init(9)amdtp_domain_destroy(9)amdtp_domain_add_stream(9)amdtp_domain_start(9)amdtp_domain_stop(9)
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
- 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