Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions src/include/sof/audio/component.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,31 @@
*
* States may transform as below:-
*
* 1) i.e. Initialisation to playback and pause/release
* init --> setup --> prepare --> active <-> paused --+
* ^ |
* +-----------------------------+
*
* 2) i.e. Suspend
* -------------
* pause | | stop/xrun
* +-------------| ACTIVITY |---------------+
* | | | | prepare
* | ------------- | +-----------+
* | ^ ^ | | |
* | | | | | |
* v | | v | |
* ------------- | | ------------- |
* | | release | | start | | |
* | PAUSED |-----------+ +-------------| PREPARE |<-------+
* | | | |
* ------------- -------------
* | ^ ^
* | stop/xrun | |
* +--------------------------------------+ |
* | prepare
* ------------- |
* | | |
* ----------->| READY |------------------+
* reset | |
* -------------
*
*
* setup --> suspend --> setup OR
* prepare --> suspend -> prepare OR
* paused --> suspend --> paused
*/

#define COMP_STATE_INIT 0 /* component being initialised */
Expand Down