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?
*/
enum class CrossFadeState : int8_t {
DISABLED = -1,
UNKNOWN = 0,
ENABLED = 1,
enum class CrossFadeState : uint8_t {
UNKNOWN,
DISABLED,
ENABLED,
} xfade_state;
/**