virtsnd_pcm_cp_pointer(9)
π virtsnd_pcm_cp_pointer(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one lives in virtsnd_pcm_cp_pointer(9) and it's literally the cutest tiny function β it just tells you where the capture stream is at rn π
πΈ NAME πΈ
virtsnd_pcm_cp_pointer β get the current hardware position for the PCM substream for capture π€β¨ (yes, capture specifically, don't @ me)
π¦ SYNOPSIS π¦
snd_pcm_uframes_t virtsnd_pcm_cp_pointer (struct snd_pcm_substream *substream );
like, that's it. one function, one argument, zero drama π
π ARGUMENTS π
substreamβ the Kernel ALSA substream π«Ά that's the whole thing, she's lowkey self-explanatory
β CONTEXT β
Any context. fr fr β no locks to worry about, no special context required, she's chill in every situation ππ
π₯ RETURN π₯
The hardware position, in frames, sitting all cozy inside the [0 ... buffer_size) range π― so like, zero-inclusive, buffer_size-exclusive, no cap π
π§ SEE ALSO π§
Kernel file ./sound/virtio/virtio_pcm_ops.c β go read her, she's iconic π
virtsnd_pcm_open(9)virtsnd_pcm_close(9)virtsnd_pcm_dev_set_params(9)virtsnd_pcm_hw_params(9)virtsnd_pcm_hw_free(9)virtsnd_pcm_prepare(9)virtsnd_pcm_trigger(9)virtsnd_pcm_sync_stop(9)virtsnd_pcm_pb_pointer(9)β her playback sister π§π
and that's the whole page bestie, no bugs listed, no warnings, she's a clean girlie π
okay so that's a wrap! this little beauty is from ./sound/virtio, dated October 2026, and you can find her under virtsnd_pcm_cp_pointer(9) whenever you need her β 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