player/Thread: move enum CrossFadeState into the Player class
This commit is contained in:
parent
8acf996d90
commit
619cfe6a1c
@ -40,12 +40,6 @@
|
|||||||
|
|
||||||
static constexpr Domain player_domain("player");
|
static constexpr Domain player_domain("player");
|
||||||
|
|
||||||
enum class CrossFadeState : int8_t {
|
|
||||||
DISABLED = -1,
|
|
||||||
UNKNOWN = 0,
|
|
||||||
ENABLED = 1
|
|
||||||
};
|
|
||||||
|
|
||||||
class Player {
|
class Player {
|
||||||
PlayerControl &pc;
|
PlayerControl &pc;
|
||||||
|
|
||||||
@ -98,7 +92,11 @@ class Player {
|
|||||||
/**
|
/**
|
||||||
* is cross fading enabled?
|
* is cross fading enabled?
|
||||||
*/
|
*/
|
||||||
CrossFadeState xfade_state;
|
enum class CrossFadeState : int8_t {
|
||||||
|
DISABLED = -1,
|
||||||
|
UNKNOWN = 0,
|
||||||
|
ENABLED = 1,
|
||||||
|
} xfade_state;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* has cross-fading begun?
|
* has cross-fading begun?
|
||||||
|
Loading…
Reference in New Issue
Block a user