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:
magumagu9 2009-01-22 20:05:59 +00:00
parent e4c96ece51
commit 57c5f00337

View File

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