Re: AUGraphInitialize in audio thread
Re: AUGraphInitialize in audio thread
- Subject: Re: AUGraphInitialize in audio thread
- From: Marc Poirier <email@hidden>
- Date: Wed, 9 Apr 2003 23:16:56 +0200 (CEST)
>
> I was testing an AU of mine this weekend and encountered a problem with
>
> host apps that utilize AUGraphs (SynthTest, Rax). It appears that they
>
> Initialize AUs in the audio rendering thread. I am working on an AU
>
> that
>
> displays a StandardAlert dialog when Initialized if it has not been
>
> authorized yet ("Hello, you are running this in demo mode, blah blah
>
> blah"). In these host apps, if rendering of the graph is taking place
>
> while instantiating my plugin, the app hangs. The alert partially
>
> draws,
>
> maybe, and there's a spinning beach ball, and after I while I just
>
> force
>
> quit the app.
>
>
I'm not sure that displaying a dialog from an AU that shouldn't be or
>
need to use ANY UI frameworks is actually kosher. Can't you do this in
>
your UI component when it is displayed?
I can, but what if my plugin didn't have a custom UI component? If this
is the expectation with AU, that alerts should only be spawned from UI
components, then that's fine with me and I can do that, but then I wonder
what plugins that don't have custom UIs will do...
Thanks,
Marc
_______________________________________________
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.