Re: crashy bug in December Dev Tools AUEffectBase.cpp
Re: crashy bug in December Dev Tools AUEffectBase.cpp
- Subject: Re: crashy bug in December Dev Tools AUEffectBase.cpp
- From: "Ben Kennedy" <email@hidden>
- Date: Fri, 20 Dec 2002 19:13:08 -0500
- Organization: Zygoat Creative Technical Services
On 21 12 2002 at 6:29 pm -0500, Marc Poirier wrote:
>
In AUEffectBase.cpp, at the end of MaintainKernels(), this:
>
>
for(unsigned int i = 0; i < nChannels; i++ )
>
{
>
mKernelList[i]->SetLastKernel(i == nChannels-1 );
>
}
>
>
will cause an AU that does not override NewKernel (or returns NULL from
>
NewKernel for any reason) to crash boom crash. :( The following little
>
change fixes the problem:
...aha... so that's why I'm crashing as soon as I call
AudioUnitInitialize() after loading the stock V1 dynamics processor? It
worked fine until 10.2.3, now all my users are reporting that my app
crashes on launch, and the debugger confirms it...
were the AudioUnits recompiled for 10.2.3 then?... Is there any solution
(besides simply not using apple AudioUnits until 10.2.4)? or am I likely
facing a different problem that's my fault? :)
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
_______________________________________________
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.