aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_all.c')
-rw-r--r--src/output_all.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output_all.c b/src/output_all.c
index 23d46b5f4..0cf0e924b 100644
--- a/src/output_all.c
+++ b/src/output_all.c
@@ -24,6 +24,7 @@
#include "conf.h"
#include "pipe.h"
#include "buffer.h"
+#include "player_control.h"
#ifndef NDEBUG
#include "chunk.h"
@@ -414,7 +415,7 @@ audio_output_all_wait(unsigned threshold)
if (audio_output_all_check() < threshold)
return true;
- notify_wait(&audio_output_client_notify);
+ notify_wait(&pc.notify);
return audio_output_all_check() < threshold;
}