player/Thread: move enum CrossFadeState into the Player class

This commit is contained in:
Max Kellermann 2015-10-27 20:48:14 +01:00
parent 8acf996d90
commit 619cfe6a1c

View File

@ -40,12 +40,6 @@
static constexpr Domain player_domain("player");
enum class CrossFadeState : int8_t {
DISABLED = -1,
UNKNOWN = 0,
ENABLED = 1
};
class Player {
PlayerControl &pc;
@ -98,7 +92,11 @@ class Player {
/**
* is cross fading enabled?
*/
CrossFadeState xfade_state;
enum class CrossFadeState : int8_t {
DISABLED = -1,
UNKNOWN = 0,
ENABLED = 1,
} xfade_state;
/**
* has cross-fading begun?