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, 3 insertions, 1 deletions
diff --git a/src/player_control.h b/src/player_control.h
index 508798fff..b1356705c 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -60,6 +60,8 @@ enum player_error {
};
struct player_control {
+ unsigned buffer_chunks;
+
unsigned int buffered_before_play;
/** the handle of the player thread, or NULL if the player
@@ -84,7 +86,7 @@ struct player_control {
extern struct player_control pc;
-void pc_init(unsigned int _buffered_before_play);
+void pc_init(unsigned buffer_chunks, unsigned buffered_before_play);
void pc_deinit(void);