I have a setup as simplified in the code below here.
The loop blocks, somewhat understandable, also the gadgets (no more mouse clicks possible)
but the drawing to be executed is not displayed even though the code is executed.
What or how should this be done under linux ?
The drawing works perfectly if the loop has been stopped and is again controlled by mouse actions.
(the same code works perfectly under windows) ?
Thanks
Code: Select all
While maxcount>count
status=0
While status<>-#EAGAIN
status=snd_rawmidi_read(port, @buffer, 1)
If status=>0
Analyse_Input(buffer, count)
Do_drawings(buffer) ;******** no drawing becomes visible ???
count+1
EndIf
Wend
Wend