XML Feeds

.

[pluggo] Clearing audio buffers

Mark Pauley mpauley at mac.com
Sun Oct 7 16:18:08 MDT 2007


This is likely due to a failure of pluggo to properly handle the reset  
notification from the host.  In this case, you'll have this issue  
until pluggo is updated.

The reset notification is a signal to an audio unit to clear it's  
state and re-initialize any internal buffers it might have, this is  
done at the host's discression. The init notification lets the audio  
unit know it's time to initialize the state and allocate any buffers  
it may need (it's guaranteed to be called by a host before any  
processing is done). There was just a back and forth on the CoreAudio  
mailing list about this.


_Mark

On Oct 6, 2007, at 1:34 PM, Arne Eigenfeldt wrote:

>
> I'm wondering if other plugin developers have an easy solution for  
> this problem.
>
> In Logic (7, 8, and Express), whenever I have audio going into a  
> plugin, and stop the transport before the region is done, move the  
> transport to another location without audio and restart, I get the  
> previous audio buffer (something like 100 ms) continuing to loop.  
> I'm guessing this is pluggo's audio buffer, since it doesn't involve  
> any buffer~ objects in the plugin.
>
> The only way to clear this loop is to allow the audio region to play  
> through to its end, thereby emptying its audio buffers.
>
> This wasn't too big a deal with only one plugin, but when I have  
> multiple tracks with plugins and overlapping audio, I'm always  
> ending up with this nagging problem.
>
> So, am I missing a simple solution to automatically clear the audio  
> buffers when the transport starts?
>
> Mac 10.4.10 (but occurred on previous versions)
> Logic 7, 8, Express
> MacBook Pro (but occurs on any machine)
> 4GB ram
> _______________________________________________
> pluggo mailing list
> pluggo at cycling74.com
> http://www.cycling74.com/mailman/listinfo/pluggo



More information about the pluggo mailing list