diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:41:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:41:05 +0200 |
commit | 4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b (patch) | |
tree | b772aada976c129bd87759300e476b2d69ec2bf2 /src/player.h | |
parent | a94845ee00d3107af7ffbe89bf1ec46380ae24ff (diff) | |
download | mpd-4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b.tar.gz mpd-4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b.tar.xz mpd-4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b.zip |
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.
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 6 |
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); |