snd_pcm_set_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_pcm_set_state(9) πŸ’–

Okay bestie, welcome to the snd_pcm_set_state(9) page from the Kernel API Manual β€” it’s giving β€œSet the PCM runtime state with stream lock” and honestly? Iconic. ✨


✨ SYNOPSIS ✨

void snd_pcm_set_state (struct snd_pcm_substream *substream ,
snd_pcm_state_t state );

It’s void, so don’t go looking for a return value, bestie. That’s not the vibe here. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • substream β€” PCM substream. The audio stream in question, slay. 🎧
  • state β€” state to set. Literally the state you’re handing over. ✨

🌈 SEE ALSO 🌈

Kernel file: ./sound/core/pcm_native.c


That’s the whole glow-up 🫢 This page’s footer says source/version ./sound/core, dated October 2026 β€” catch you later, bestie. πŸ’‹

πŸ“¦ where this page comes from