output/osx: remove sleep call from render callback

Blocking inside the render callback is forbidden, and this sleep call
didn't make any sense.
This commit is contained in:
Max Kellermann 2011-12-24 17:56:10 +01:00
parent 3a9697adf2
commit f405d27c56
2 changed files with 1 additions and 4 deletions

1
NEWS
View File

@ -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

View File

@ -142,10 +142,6 @@ osx_render(void *vdata,
buffer->mDataByteSize = buffer_size;
if (!buffer_size) {
g_usleep(1000);
}
return 0;
}