aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);