aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/osx_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-12-24 17:56:10 +0100
committerMax Kellermann <max@duempel.org>2011-12-24 17:56:10 +0100
commitf405d27c56610b4cd466cf3cf81d4079924168dd (patch)
treee47df0df8fb0f301dbabe1596922ec5d22e3ebc1 /src/output/osx_plugin.c
parent3a9697adf268d780500cc53432efa4f164db7bb4 (diff)
downloadmpd-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.
Diffstat (limited to 'src/output/osx_plugin.c')
-rw-r--r--src/output/osx_plugin.c4
1 files changed, 0 insertions, 4 deletions
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;
}