mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
Sleep for 1ms instead of zero time; the busy-sleep loop pollutes
profiles. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1983 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e4c96ece51
commit
57c5f00337
@ -127,7 +127,7 @@ void Mixer_PushSamples(short *buffer, int num_stereo_samples, int sample_rate) {
|
||||
}
|
||||
#else
|
||||
while (queue_size > queue_maxlength) {
|
||||
sleep(0);
|
||||
usleep(1000);
|
||||
}
|
||||
#endif
|
||||
//convert into config option?
|
||||
|
Loading…
x
Reference in New Issue
Block a user