I use it to stream a mp3 file to openal.
If i set sleep to high sound is interupted by silence. If i set it to low the cpu usage goes up. The mp3 decode part might take longer or shorter dependend on the cpu. So on a slow pc sleep(50) may also take to long.

see also: http://www.pascalgamedevelopment.com...67557955#41863