aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h
index a4db82dc2..a030c02da 100644
--- a/src/player.h
+++ b/src/player.h
@@ -79,7 +79,7 @@ enum player_queue_state {
#define PLAYER_QUEUE_UNLOCKED 0
#define PLAYER_QUEUE_LOCKED 1
-typedef struct _PlayerControl {
+struct player_control {
Notify notify;
volatile enum player_command command;
volatile enum player_state state;
@@ -99,7 +99,9 @@ typedef struct _PlayerControl {
volatile float crossFade;
volatile mpd_uint16 softwareVolume;
volatile double totalPlayTime;
-} PlayerControl;
+};
+
+extern struct player_control pc;
void player_command_finished(void);