diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:45:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:45:14 +0200 |
commit | e2c8b960de29e4fc45f16d980b9ef370de9951d3 (patch) | |
tree | bbe802c9efd9b677d91c9d7052382af147e5190f /src/player_control.h | |
parent | 5e51fa020dcf634d2c5442ed6c5de108420c7574 (diff) | |
download | mpd-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.h | 4 |
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); |