From f405d27c56610b4cd466cf3cf81d4079924168dd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 24 Dec 2011 17:56:10 +0100 Subject: [PATCH] output/osx: remove sleep call from render callback Blocking inside the render callback is forbidden, and this sleep call didn't make any sense. --- NEWS | 1 + src/output/osx_plugin.c | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/NEWS b/NEWS index acbc242d3..212648f20 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ ver 0.16.7 (2011/??/??) * output: - httpd: fix excessive buffering - openal: force 16 bit playback, as 8 bit doesn't work + - osx: remove sleep call from render callback * fix moving after current song diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c index 7639f3bd9..d7abae096 100644 --- a/src/output/osx_plugin.c +++ b/src/output/osx_plugin.c @@ -142,10 +142,6 @@ osx_render(void *vdata, buffer->mDataByteSize = buffer_size; - if (!buffer_size) { - g_usleep(1000); - } - return 0; }