Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting notifications for AudioUnit ProcessBufferLists method




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:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Getting notifications for AudioUnit ProcessBufferLists method (From: Stéphane Letz <email@hidden>)
 >Re: Getting notifications for AudioUnit ProcessBufferLists method (From: Marc Poirier <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.