Well i havent found an answer to this .
If i have a look at the sound tutorial eg, i see the sleep() method.
Why is it there exactly?
(it says leave some time for other threads)
would playing the sound without sleep take over the whole cpu and nothing else could be done (similiar to fractals?)
should sound be handled in an extra thread when programming a game?