aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-08 22:22:00 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 22:28:59 +0200
commitd35d2b269f77a0c4ec5fac9ac2df6d107b5b2d6d (patch)
treed10bf911f7dcac2015da18946f73bc91a5fff0e8 /src/player_control.h
parentfa84ed412db4cc033989d1b60535dd6207e1ff23 (diff)
downloadmpd-d35d2b269f77a0c4ec5fac9ac2df6d107b5b2d6d.tar.gz
mpd-d35d2b269f77a0c4ec5fac9ac2df6d107b5b2d6d.tar.xz
mpd-d35d2b269f77a0c4ec5fac9ac2df6d107b5b2d6d.zip
player_control: rename player_error enum values
Diffstat (limited to 'src/player_control.h')
-rw-r--r--src/player_control.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/player_control.h b/src/player_control.h
index 0a62b774a..5d1c0ba3b 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -66,9 +66,17 @@ enum player_command {
};
enum player_error {
- PLAYER_ERROR_NOERROR = 0,
- PLAYER_ERROR_FILE,
- PLAYER_ERROR_AUDIO,
+ PLAYER_ERROR_NONE = 0,
+
+ /**
+ * The decoder has failed to decode the song.
+ */
+ PLAYER_ERROR_DECODER,
+
+ /**
+ * The audio output has failed.
+ */
+ PLAYER_ERROR_OUTPUT,
};
struct player_status {