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



I believe that the original question is not about sequencer start/stop, but about the starting and stopping of DSP rendering between discontiguous audio regions, where Logic will turn off effects during the breaks to save on CPU (i.e. the sequencer is continuing to run this whole time). So far as I could tell from my tests, Logic is not calling AudioUnitReset() when stopping or restarting DSP in these cases, which causes the problem originally described. Unless I am missing something, I think that Logic should be doing a Reset on the AU(s) in those cases.

Marc



On Feb 8, 2005, at 12:57 PM, Stefan Gretscher wrote:

Hi Stéphane,

Am 08.02.2005 um 18:43 schrieb Stéphane Letz:
Le 8 févr. 05, à 18:25, Urs Heckmann a écrit :
Logic calls it before it starts to process again. Wouldn't that be sufficient?
Unfortunaley not, the "dirty" buffer is used elsewhere and i would need to clear it when the process is stopped.....
Urs is correct, Logic should call into Reset() before each sequencer start.
As the AU's processing isn't called during stop, from the AU's perspective this looks like processing->reset->processing, which is exactly how it is supposed to look.

For some reason this doesn't seem to work properly in your case, so please describe in detail what you're doing (if you have a song showing it, please attach it) and I'll try to reproduce and debug this.
Our dedicated address for dropping AU developer requests and bug reports regarding Logic is:

email@hidden


Best,

Stefan Gretscher

_______________________________________________
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>)
 >Re: Getting notifications for AudioUnit ProcessBufferLists method (From: Stéphane Letz <email@hidden>)
 >Re: Getting notifications for AudioUnit ProcessBufferLists method (From: Urs Heckmann <email@hidden>)
 >Re: Getting notifications for AudioUnit ProcessBufferLists method (From: Stéphane Letz <email@hidden>)
 >Re: Getting notifications for AudioUnit ProcessBufferLists method (From: Stefan Gretscher <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.