diff options
Diffstat (limited to 'src/output_all.c')
-rw-r--r-- | src/output_all.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output_all.c b/src/output_all.c index 870d8aed3..23d46b5f4 100644 --- a/src/output_all.c +++ b/src/output_all.c @@ -414,8 +414,7 @@ audio_output_all_wait(unsigned threshold) if (audio_output_all_check() < threshold) return true; - /* XXX synchronize in a better way */ - g_usleep(1000); + notify_wait(&audio_output_client_notify); return audio_output_all_check() < threshold; } |