Application Behaviour when AU returns kAudioUnitErr_Unauthorized
Application Behaviour when AU returns kAudioUnitErr_Unauthorized
- Subject: Application Behaviour when AU returns kAudioUnitErr_Unauthorized
- From: Andrew Kimpton <email@hidden>
- Date: Thu, 5 Jan 2006 16:22:34 -0800
If our AU is not authorized we return kAudioUnitErr_Unauthorized from
the Unit Initialize() method.
However some hosts seem to either 'ignore' this error or at the least
continue on and try to open the Unit's view component even if the
above error is returned.
For example SoundTrack Pro will attempt to change the stream format
even if the above error is returned. Logic 7.0 actually works
properly and stops doing anything with AU after this error, however
Logic 7.1 displays it's own 'plugin unauthorized' dialog but then
persists in opening the Units view component.
Digital Performer and AULab also attempt to open the view component
in spite of the Unauthorized error.
It seems to me that if the process component returns any sort of
error from Initialize then 'all bets are off' and the unit is not
usable, and that includes not attempting to open it's UI (after all
what's the UI going to control ? There's no process component). Or am
I missing something here ?
Andrew 8-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden