Re: Problems with AUEffectBase w/o Kernels
Re: Problems with AUEffectBase w/o Kernels
- Subject: Re: Problems with AUEffectBase w/o Kernels
- From: Bill Stewart <email@hidden>
- Date: Wed, 22 Jan 2003 17:57:54 -0800
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.