diff options
author | Max Kellermann <max@duempel.org> | 2011-12-24 17:56:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-12-24 17:56:10 +0100 |
commit | f405d27c56610b4cd466cf3cf81d4079924168dd (patch) | |
tree | e47df0df8fb0f301dbabe1596922ec5d22e3ebc1 | |
parent | 3a9697adf268d780500cc53432efa4f164db7bb4 (diff) | |
download | mpd-f405d27c56610b4cd466cf3cf81d4079924168dd.tar.gz mpd-f405d27c56610b4cd466cf3cf81d4079924168dd.tar.xz mpd-f405d27c56610b4cd466cf3cf81d4079924168dd.zip |
output/osx: remove sleep call from render callback
Blocking inside the render callback is forbidden, and this sleep call
didn't make any sense.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/output/osx_plugin.c | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -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; } |