The following code:
Code: Select all
Repeat
Delay(1)
ForeverI am writing a program which involves repeated calls to either Delay() or WaitWindowEvent(). It works for a while, then locks up.
Code: Select all
Repeat
Delay(1)
ForeverCode: Select all
Repeat
//Call PortAudio function which returns when audio buffer is full
event = WindowEvent()
//Process window events
Forever