aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-27 21:05:10 +0100
committerMax Kellermann <max@duempel.org>2015-10-27 21:05:10 +0100
commit151653dd9867dee03059d95d5a700a1d8ddc5b92 (patch)
tree6d10d4eff4d838d563707104eee2e9cd89dee3fa
parent619cfe6a1ce3abd6e70878f137c18d61004ea578 (diff)
downloadmpd-151653dd9867dee03059d95d5a700a1d8ddc5b92.tar.gz
mpd-151653dd9867dee03059d95d5a700a1d8ddc5b92.tar.xz
mpd-151653dd9867dee03059d95d5a700a1d8ddc5b92.zip
player/Thread: automatic CrossFadeState enum values
-rw-r--r--src/player/Thread.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx
index e85522d88..9876ee470 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -92,10 +92,10 @@ class Player {
/**
* is cross fading enabled?
*/
- enum class CrossFadeState : int8_t {
- DISABLED = -1,
- UNKNOWN = 0,
- ENABLED = 1,
+ enum class CrossFadeState : uint8_t {
+ UNKNOWN,
+ DISABLED,
+ ENABLED,
} xfade_state;
/**