__snd_pcm_set_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME

okay bestie, welcome to __snd_pcm_set_state(9) from the Kernel API Manual β€” it’s giving β€œchange the current PCM state” and honestly that’s the whole name, no cap πŸ’…βœ¨


✨ SYNOPSIS

void __snd_pcm_set_state (struct snd_pcm_runtime *runtime ,
snd_pcm_state_t state );

πŸ’… ARGUMENTS

  • runtime β€” the PCM runtime you’re setting, bestie. It’s a struct snd_pcm_runtime *.
  • state β€” the current state you want to set, as a snd_pcm_state_t.

πŸ¦‹ DESCRIPTION

okay so the entire description is literally: Call within the stream lock. That’s it. That’s the note. Do it inside the stream lock, periodt, no cap πŸ’…πŸ”₯


🌈 SEE ALSO

like, go read these next, bestie β€” the whole crew is here. This page points at the kernel file ./include/sound/pcm.h, plus all these (9) friends:


okay that’s the whole vibe β€” footer shoutout: source/version ./include/sound, date October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from