aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_control.c')
-rw-r--r--src/player_control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player_control.c b/src/player_control.c
index 5d95fb093..4dfc810c1 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -30,8 +30,9 @@
struct player_control pc;
-void pc_init(unsigned int buffered_before_play)
+void pc_init(unsigned buffer_chunks, unsigned int buffered_before_play)
{
+ pc.buffer_chunks = buffer_chunks;
pc.buffered_before_play = buffered_before_play;
notify_init(&pc.notify);
pc.command = PLAYER_COMMAND_NONE;