From 4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:41:05 +0200 Subject: moved global variable "pc" to player.h This is the last of the three variables. Now we don't need playerData.h anymore in most sources. --- src/player.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/player.h') 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); -- cgit v1.2.3