aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:45:14 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:45:14 +0200
commite2c8b960de29e4fc45f16d980b9ef370de9951d3 (patch)
treebbe802c9efd9b677d91c9d7052382af147e5190f /src/player_control.h
parent5e51fa020dcf634d2c5442ed6c5de108420c7574 (diff)
downloadmpd-e2c8b960de29e4fc45f16d980b9ef370de9951d3.tar.gz
mpd-e2c8b960de29e4fc45f16d980b9ef370de9951d3.tar.xz
mpd-e2c8b960de29e4fc45f16d980b9ef370de9951d3.zip
moved code to pc_init(), dc_init()
Diffstat (limited to 'src/player_control.h')
-rw-r--r--src/player_control.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player_control.h b/src/player_control.h
index fcdbb000f..633d16dcd 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -80,6 +80,8 @@ enum player_queue_state {
#define PLAYER_QUEUE_LOCKED 1
struct player_control {
+ unsigned int buffered_before_play;
+
Notify notify;
volatile enum player_command command;
volatile enum player_state state;
@@ -103,6 +105,8 @@ struct player_control {
extern struct player_control pc;
+void pc_init(unsigned int buffered_before_play);
+
void player_command_finished(void);
void playerPlay(Song * song);