DSPdude
Electrical
- Jul 24, 2003
- 4
I have a simple while loop:
____________________________
while play
wavplay(wavout,Fs)
end
____________________________
The problem is that it is supposed to stop when the user presses the stop button, which will make play = 0, stopping the loop. But during the loop, the user can't press anything. I need something equivalent to the DoEvents in Visual Basic, that will let other events process.Thanks.
____________________________
while play
wavplay(wavout,Fs)
end
____________________________
The problem is that it is supposed to stop when the user presses the stop button, which will make play = 0, stopping the loop. But during the loop, the user can't press anything. I need something equivalent to the DoEvents in Visual Basic, that will let other events process.Thanks.