Re: Getting notifications for AudioUnit ProcessBufferLists method
Re: Getting notifications for AudioUnit ProcessBufferLists method
- Subject: Re: Getting notifications for AudioUnit ProcessBufferLists method
- From: Stéphane Letz <email@hidden>
- Date: Tue, 8 Feb 2005 17:19:58 +0100
Le 8 févr. 05, à 17:06, Marc Poirier a écrit :
I would hope that Logic would call AudioUnitReset() when the audio stream is interrupted like that. I haven't checked myself, but if not, I would report that as a bug to Apple. If so, then the Reset() method from AUBase (or falling down to AUKernelBase::Reset() if you are using those) will be called, so you can override that and do your state cleanup work there.
Marc
On Feb 8, 2005, at 10:47 AM, Stéphane Letz wrote:
Hi,
I'm testing a AudioUnit in Logic. When Logic is playing, the ProcessBufferLists method of the AudioUnit is called, and when Logic is idle, the ProcessBufferLists method is not called anymore.
It there a way to be notified when the ProcessBufferLists method is stopped, in order to cleanup an internal state?
Thanks
Stephane Letz
Thanks.
I tried to use
virtual ComponentResult Reset(AudioUnitScope inScope,
AudioUnitElement inElement);
but this mehod is not called when stopping Logic... (version 6.3.3)
I need to clean a "dirty" buffer when the AUdioUnit ProcessBufferLists is not called anymore.
Stephane Letz
_______________________________________________
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