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:
parent
3a9697adf2
commit
f405d27c56
1
NEWS
1
NEWS
|
@ -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,
|
||||||
|
|
||||||
buffer->mDataByteSize = buffer_size;
|
buffer->mDataByteSize = buffer_size;
|
||||||
|
|
||||||
if (!buffer_size) {
|
|
||||||
g_usleep(1000);
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue