snd_pcm_lib_period_bytes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_pcm_lib_period_bytes β€” Kernel API Manual energy ✨

okay so bestie, we're in the kernel API manual and this one lives at snd_pcm_lib_period_bytes(9). yes it's a mouthful, no we're not renaming it, it's iconic and it stays. πŸŽ€


🌸 NAME 🌸

snd_pcm_lib_period_bytes β€” get the period size of the current PCM, but like… in bytes πŸ’…


✨ SYNOPSIS ✨

size_t snd_pcm_lib_period_bytes (struct snd_pcm_substream *substream );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • substream β€” a PCM substream, that's the whole vibe, that's the only thing you're passing in 🫢

🌈 RETURN 🌈

It hands you back the period byte size. that's it, that's the return value β€” size_t, period size, in bytes, periodt πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/sound/pcm.h β€” and bestie, the friend group is huge, so let's go:

fr fr that's the whole crew, no skips πŸ™ˆ


that's the page!! mwah πŸ’‹ this came out of ./include/sound back in October 2026, and it's filed under snd_pcm_lib_period_bytes(9) β€” go read the neighbours, they're all slay too πŸ§šπŸ’œ

πŸ“¦ where this page comes from