aboutsummaryrefslogtreecommitdiffstats
path: root/src/player/Thread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/player/Thread.cxx')
-rw-r--r--src/player/Thread.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx
index 60e253f4c..e85522d88 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -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?