diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:17 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:17 +0200 |
commit | 4613115becdf99846c0a2367ee7ae76e6ee91d8b (patch) | |
tree | 805b71a16830f406f9197b2b8b10297e878b5241 /src | |
parent | 55377fbd9f0f09fd81c031381dcfc111d867d366 (diff) | |
download | mpd-4613115becdf99846c0a2367ee7ae76e6ee91d8b.tar.gz mpd-4613115becdf99846c0a2367ee7ae76e6ee91d8b.tar.xz mpd-4613115becdf99846c0a2367ee7ae76e6ee91d8b.zip |
document the PLAYER_QUEUE_ constants
Diffstat (limited to '')
-rw-r--r-- | src/player.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 09c77e59e..b3cf207ec 100644 --- a/src/player.h +++ b/src/player.h @@ -53,11 +53,26 @@ enum player_command { * ->4->0 don't play queued song */ enum player_queue_state { + /** there is no queued song */ PLAYER_QUEUE_BLANK = 0, + + /** there is a queued song */ PLAYER_QUEUE_FULL = 1, + + /** the player thread has forwarded the queued song to the + decoder; it waits for PLAY or STOP */ PLAYER_QUEUE_DECODE = 2, + + /** tells the player thread to start playing the queued song; + this is a response to DECODE */ PLAYER_QUEUE_PLAY = 3, + + /** tells the player thread to stop before playing the queued + song; this is a response to DECODE */ PLAYER_QUEUE_STOP = 4, + + /** the player thread has begun playing the queued song, and + thus its queue is empty */ PLAYER_QUEUE_EMPTY = 5 }; |