diff options
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h index 0363e59..5c60e59 100644 --- a/src/player.h +++ b/src/player.h @@ -49,9 +49,13 @@ typedef struct { pthread_cond_t pauseCond; enum { - PLAYER_DEAD = 0, /* thread is not running */ - PLAYER_STARTING, /* thread is starting */ + /* not running */ + PLAYER_DEAD = 0, + /* running, but not ready to play music yet */ + PLAYER_WAITING, + /* currently playing a song */ PLAYER_PLAYING, + /* finished playing a song */ PLAYER_FINISHED, } mode; |