pcm_pointer(9)
β¨ NAME β¨
okay so bestie, welcome to pcm_pointer(9) β straight outta the Kernel API Manual π
. This one implements the pointer callback function for the PCM middle layer. Periodt.
πΈ SYNOPSIS πΈ
snd_pcm_uframes_t pcm_pointer (struct snd_pcm_substream *substream );
π ARGUMENTS π
substreamβ the substream pointer. That's the whole argument, and she ate. β¨
π¦ DESCRIPTION π¦
This callback gets called when the PCM middle layer is inquiring about the current hardware position on the buffer π.
The position must be returned in frames, ranging from 0 to buffer_size-1. No cap, those are the bounds β don't be out here returning anything else.
π SEE ALSO π
- Kernel file
./drivers/most/most_snd.c struct channel(9)get_channel(9)copy_data(9)playback_thread(9)pcm_open(9)pcm_close(9)pcm_prepare(9)pcm_trigger(9)audio_probe_channel(9)audio_disconnect_channel(9)audio_rx_completion(9)audio_tx_completion(9)
and that's the vibe check, bestie π«Ά β this page comes from ./drivers/most, is dated October 2026, and goes by pcm_pointer(9). mwah π
π¦ 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