player/Thread: automatic CrossFadeState enum values

This commit is contained in:
Max Kellermann 2015-10-27 21:05:10 +01:00
parent 619cfe6a1c
commit 151653dd98

View File

@ -92,10 +92,10 @@ class Player {
/** /**
* is cross fading enabled? * is cross fading enabled?
*/ */
enum class CrossFadeState : int8_t { enum class CrossFadeState : uint8_t {
DISABLED = -1, UNKNOWN,
UNKNOWN = 0, DISABLED,
ENABLED = 1, ENABLED,
} xfade_state; } xfade_state;
/** /**