Commit f405d27c authored by Max Kellermann's avatar Max Kellermann

output/osx: remove sleep call from render callback

Blocking inside the render callback is forbidden, and this sleep call didn't make any sense.
parent 3a9697ad
...@@ -2,6 +2,7 @@ ver 0.16.7 (2011/??/??) ...@@ -2,6 +2,7 @@ ver 0.16.7 (2011/??/??)
* output: * output:
- httpd: fix excessive buffering - httpd: fix excessive buffering
- openal: force 16 bit playback, as 8 bit doesn't work - openal: force 16 bit playback, as 8 bit doesn't work
- osx: remove sleep call from render callback
* fix moving after current song * fix moving after current song
......
...@@ -142,10 +142,6 @@ osx_render(void *vdata, ...@@ -142,10 +142,6 @@ osx_render(void *vdata,
buffer->mDataByteSize = buffer_size; buffer->mDataByteSize = buffer_size;
if (!buffer_size) {
g_usleep(1000);
}
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment