pollcallbacks and s.p.o.d.
Date: May 03, 2008 01:11PM
Antoine,
Is there a way to avoid having MacOS show the "spinning pizza of death" while calling pollcallbacks in a loop? Here's how I have it set up:
property synth, playing
on PlayIt
-- send midi data to synth here
-- schedule the callback to PlayDone here
playing = true
end
on PlayDone
playing = false
end
on WaitUntilDone
repeat while playing
synth.PollCallbacks()
end repeat
end
PlayDone is the callback handler. WaitUntilDone delays program execution until the synth is done playing a musical example. It all works fine, but that annoying, spinning thing always appears! I know that this is probably a Director/MacOS problem, but if there's a way to fix it in the fluidxtra, or you can give me some advice about how to code this to avoid it, I'd sure appreciate it.
Thanks again, and thanks also for making the xtra free, open-source, and supported, too!
Peter