From 151653dd9867dee03059d95d5a700a1d8ddc5b92 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 27 Oct 2015 21:05:10 +0100 Subject: player/Thread: automatic CrossFadeState enum values --- src/player/Thread.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/player') 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; /** -- cgit v1.2.3