snd_pcm_set_state(9)
π 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
snd_pcm_stream_lock(9)snd_pcm_stream_unlock(9)snd_pcm_stream_lock_irq(9)snd_pcm_stream_unlock_irq(9)snd_pcm_stream_unlock_irqrestore(9)snd_pcm_get_state(9)snd_pcm_hw_params_choose(9)snd_pcm_start(9)snd_pcm_stop(9)snd_pcm_drain_done(9)snd_pcm_stop_xrun(9)snd_pcm_suspend_all(9)snd_pcm_prepare(9)snd_pcm_kernel_ioctl(9)snd_pcm_lib_default_mmap(9)snd_pcm_lib_mmap_iomem(9)
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
- 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