Skip to content

ALSA PCM State Machine

Posted on March 9, 2024 by max


Note to self

 

1. PCM state (snd_pcm_state_t) [1]

SND_PCM_STATE_OPEN
SND_PCM_STATE_SETUP
SND_PCM_STATE_PREPARED
SND_PCM_STATE_RUNNING
SND_PCM_STATE_XRUN
SND_PCM_STATE_DRAINING
SND_PCM_STATE_PAUSED
SND_PCM_STATE_SUSPENDED
SND_PCM_STATE_DISCONNECTED

 

State Machine [2]

 

 

References
[1] snd_pcm_state_t
[2] ALSA project – the C library reference

Posted in: memo Tagged: ALSA, Linux, PCM, State Machine

Recent Posts

  • Setting Up Static IP Address on Linux July 14, 2024
  • VI Cheat Sheet May 16, 2024
  • ALSA PCM State Machine March 9, 2024
  • Generating UML Class Diagram from C++ Header File using PlantUML January 9, 2023
  • Showing Video Image on Tkinter Window with OpenCV August 19, 2020

Sponsor Link