I\'m working through a chapter about iPhone audio and have come across a section of code that I can\'t make sense of:
while (aqc.playPtr < aqc.sampleLen)
There's no reason to do it. There's no reason ever to Sleep() either. One should always be expecting at least one event - program shutdown request.