• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
crashy bug in December Dev Tools AUEffectBase.cpp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

crashy bug in December Dev Tools AUEffectBase.cpp


  • Subject: crashy bug in December Dev Tools AUEffectBase.cpp
  • From: Marc Poirier <email@hidden>
  • Date: Sat, 21 Dec 2002 00:29:50 +0100 (CET)

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:

for(unsigned int i = 0; i < nChannels; i++ )
{
if (mKernelList[i] != NULL)
mKernelList[i]->SetLastKernel(i == nChannels-1 );
}

I'm about to report this to RADAR, but figured that I'd post it to the
list, too, so that others can apply the fix.

Marc
_______________________________________________
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.

  • Prev by Date: Re: what is the equivalent to VSTi in AU world ?
  • Next by Date: Re: crashy bug in December Dev Tools AUEffectBase.cpp
  • Previous by thread: Re: what is the equivalent to VSTi in AU world ?
  • Next by thread: Re: crashy bug in December Dev Tools AUEffectBase.cpp
  • Index(es):
    • Date
    • Thread