Re: AUGraphInitialize in audio thread
Re: AUGraphInitialize in audio thread
- Subject: Re: AUGraphInitialize in audio thread
- From: "K. Ware" <email@hidden>
- Date: Wed, 9 Apr 2003 22:06:39 -0400
On Wednesday, April 9, 2003, at 05:30 PM, Brian Willoughby wrote:
Marc,
You raise a good question.
Considering your needs - to alert the user about insufficient
licensing -
perhaps CoreAudio should allow for an exception to be raised, or add a
unique
return code to indicate licensing restrictions. It would be up to the
host app
to display the text of the exception, or to interpret the return code.
It's a very common and powerful design principle to create code units
which
have no UI. This technique allows them to be used in many more ways
than
initially predicted. Breaking the paradigm by popping up alert panels
is
probably something that will restrict the flexibility of AudioUnits.
Agreed and for these reasons we are moving away from using alerts
ourselves, however, I think this issue goes well beyond Marc's
particular case. I think it would be great if there was a well defined
mechanism for the AU to signal to the host about exceptions that are
encountered. Then it would be up to the host how to tell the user about
the exception (or whether to alert the user at all).
-k
_______________________________________________
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.