Re: AUGraphInitialize in audio thread
Re: AUGraphInitialize in audio thread
- Subject: Re: AUGraphInitialize in audio thread
- From: Bill Stewart <email@hidden>
- Date: Wed, 9 Apr 2003 19:15:06 -0700
How about:
kAudioUnitErr_NoPayNoPlay = !pay :-)
I don't know - but don't like the dialog... don't have an easy answer.
Is there a notification service that could be used for this?
Bill
On Wednesday, April 9, 2003, at 02:30 PM, Brian Willoughby wrote:
Marc,
[ > 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...
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.
Brian Willoughby
Sound Consulting
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.