• 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
Re: Problems with AUEffectBase w/o Kernels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with AUEffectBase w/o Kernels


  • Subject: Re: Problems with AUEffectBase w/o Kernels
  • From: Robert Grant <email@hidden>
  • Date: Thu, 23 Jan 2003 11:32:36 -0500

So hopefully there'll be a posting to the list with all the fixes/changes when this
update comes out... please?

Thanks,

Robert.

On Wednesday, January 22, 2003, at 08:57 PM, Bill Stewart wrote:

We're currently preparing an update to the SDK that will be available shortly - that contains this fix...

One of the things that might not be immediately noticeable in the SDK (both the Dec tools release and the updated release) is that there is now full support for the ramping of parameters and the intra buffering scheduling of parameter value changes (which is how this bug was introduced)...

If you want some explanation of these changes and how this can be supported, ask and I'm sure Chris will be happy to oblige:)

Bill

On Sunday, January 19, 2003, at 09:06 AM, Marc Poirier wrote:

after giving some stuff adaption and a recompile to the new
AUEffectBase (Dec 02 Dev Tools), I suddenly encountered crashes during
Logic startup. However, it doesn't crash any othe host I tested it with.

I found that MaintainKernels() gets called allthough I havn't
implemented any Kernels. Hence it tries to access the KernelList which
isn't there.

Is there a way to circumvent this when the host tries to establish its
StreamFormat? Any new function I should overwrite or call?


Calling MaintainKernels should be fine because it should just do not much
of anything (well, creating a vector of null pointers) if no kernels are
being created, but there was a bug introduced in the Dec Tools update at
the end of the MaintainKernels function:

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


I changed that to be:

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

and that seems to me to be a fine solution; it allows kernel-using plugs
and non-kernel-using plugs to still work.


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.


-- 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
_______________________________________________________________________ ___
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Re: Problems with AUEffectBase w/o Kernels (From: Bill Stewart <email@hidden>)

  • Prev by Date: Error -3000 (Invalid component ID)
  • Next by Date: Re: Error -3000 (Invalid component ID)
  • Previous by thread: Re: intra buffering scheduling of parameter value changes
  • Next by thread: Zoyd goes preview beta
  • Index(es):
    • Date
    • Thread