pcm_for_each_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pcm_for_each_format ✨

okay so bestie, welcome to the pcm_for_each_format(9) page from the Kernel API Manual β€” yes, the kernel, we're literally in the kernel rn, main character energy only πŸ’…


🌸 NAME 🌸

pcm_for_each_format β€” the little helper that loops you through every single format type, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

pcm_for_each_format (f );

that's it. that's the whole vibe. one argument, zero drama ✨


πŸ’– ARGUMENTS πŸ’–

  • f β€” the iterator variable, and it's gotta be of type snd_pcm_format_t. she's not like other variables, she has a type, periodt πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

like, go read these next, i'm obsessed:

Kernel file ./include/sound/pcm.h β€” start here bestie, it's giving source of truth πŸ“–

then literally all of these:

like i said. all of them. i don't make the rules (i do, actually, and the rule is: keep every reference) πŸ’€


🫢 that's the whole page bestie β€” short, sweet, and honestly iconic for it. iykyk πŸ’œ

this has been the ./include/sound girlies, dropping October 2026 β€” see you in the kernel, mwah 😘

πŸ“¦ where this page comes from