kAudioUnitErr_Unauthorized and auval
kAudioUnitErr_Unauthorized and auval
- Subject: kAudioUnitErr_Unauthorized and auval
- From: Andrew Kimpton <email@hidden>
- Date: Mon, 6 Feb 2006 14:19:48 -0800
To my mind it's not invalid for an AudioUnit to return
kAudioUnitErr_Unauthorized from Initialize() if serial numbers have
not been entered, dongles are not present etc. However auval seems to
persist in pushing the audiounit to answer 'unanswerable' questions
if Initialize() returns the above error. To the point that auval will
ultimately fail validation of a unit since it 'needs to be
initialized but can't'. This in turn can lead to tech support calls
since customers don't insert their dongle before running Logic - they
then get the 'failed validation' dialog and will call us for the
update. Furthermore we then need to describe to them how to launch
AUManager in Logic, rescan the unit and continue on. At least one
unnecessary customer call to our techsupport people.
Short of returning noErr from Initialize() instead of
kAudioUnitErr_Unauthorized and then taking care not to do any 'real
work' I can't see any other solution short of requesting that auval
be changed to treat kAudioUnitErr_Unauthorized as a valid response
that should then prevent it from doing any further work which
requires an initialized unit and not to treat the whole unit as
having failed validation.
Andrew 8-)
P.S. Logic 7.1 actually displays a reasonably worded dialog for this
error - of course most users will not see it since the unit would not
have been listed in the menus for them to select since it failed
validation.
_______________________________________________
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