Re: Progress bar in Audio Unit, crashes Logic
Re: Progress bar in Audio Unit, crashes Logic
- Subject: Re: Progress bar in Audio Unit, crashes Logic
- From: Chris Reed <email@hidden>
- Date: Thu, 30 Oct 2003 15:06:41 -0600
And also, why are you using Thread Manager threads on OS X for a
non-gui process? Switch to pthreads or something so your analyzation
code can run preemptively.
-chris
On Oct 30, 2003, at 6:22 AM, Brian Willoughby wrote:
Why create a modal window if you're going to the trouble of creating
another
thread for processing? There should be no reason to stop the user
from doing
other things if the main thread is not blocked. Find a way to show
progress
with a non-modal display - perhaps with a write-only/display-only
parameter.
Brian Willoughby
Sound Consulting
Begin forwarded message:
I'm trying to display a progress bar that comes up when the user
imports a wav or aiff file to be analyzed by a synth plug-in. I create
a new window with a progress control and start the processing on other
thread, and use YieldToThread at points within the processing thread to
allow the progress bar window to update. This all seems to work fine
on most hosts, however in Logic I get a crash soon after processing
starts (crash log follows for anyone so inclined).
I was just wondering if there are any issues I should watch out for
when creating a new thread within a plug-in. The progress bar window
is modal, so the user shouldn't be able to do anything while import
processing is going on but watch the bar go across.
Thanks,
Rob
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.