Re: Application Behaviour when AU returns kAudioUnitErr_Unauthorized
Re: Application Behaviour when AU returns kAudioUnitErr_Unauthorized
- Subject: Re: Application Behaviour when AU returns kAudioUnitErr_Unauthorized
- From: William Stewart <email@hidden>
- Date: Thu, 5 Jan 2006 17:21:56 -0800
From what I see AUL will do the following:
Open the AU
Check its channel capabilities
Set its formats
Initialize
- if that fails, the AU is closed and never added
Then we have the other problem I alluded to (where the view tries to
get opened on something).
Anyway, this is definitely something we need to cleanup...
Bill
On 05/01/2006, at 4:56 PM, Andrew Kimpton wrote:
On Jan 5, 2006, at 4:49 PM, William Stewart wrote:
For example SoundTrack Pro will attempt to change the stream
format even if the above error is returned.
That would be an ST bug and should be filed appropriately
Further testing in the past minutes since my original post with the
newer version of AULab (1.0.2) seems to show that AULab is doing
the same thing. In spite of an error returned by Initialize() it's
calling ChangeStreamFormat. If I alter ChangeStreamFormat to return
either Uninitialized or Unauthorized (rather than crash 8-) AULab
still crashes later (see my previous post to Stefan).
I don't believe the original 1.0 version of AULab worked like this
- however since I've upgraded to XCode 2.2 I can't easily go back
to verify that without pulling out older XCode 2.1 CD's and digging
through the packages (assuming on old install of AULab will work
alongside the new one ?)
Andrew 8-)
--
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
________________________________________________________________________
__
_______________________________________________
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