Pasquale Fersini wrote:

> I've a problem with an application I'm developing: it's an audio 
> player/recorder based on FmodEx library. For playing and stopping audio 
> stream there isn't problems, but when I start recording, the application 
> GUI freeze (damn!) while recording process goes on.

To keep the GUI responding it is necessary to call Fl::check() 
periodically (the attendend specialists consider this for self-evident 
;o). For doing this there is no thread needed, it can be done much 
simpler inside a loop or by a timer. But placing Fl::check() inside your 
record process maybe interrupts recording, so for your problem the 
professional way is using a worker thread.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to