Premiere Pro - Not Enough Samples in Process Block During Overlapping Automation

Hi Everyone,

I’m experiencing an issue with my plugin where if there are 2 or more parameters with overlapping automation, Premiere Pro is not handing me enough samples. The result in Premiere Pro is that there is a continuous glitchy loop in the beginning of where the 2 automations overlap.

When the buffer size is set to 256, for example, I suddenly start getting only 11 samples in the processBlock. Any advice would be helpful!

*This issue is not observable in any other DAW/Video Editing tool we’re testing (Ableton Live, Logic Pro, Cubase, Final Cut Pro).

The buffer size passed to prepareToPlay is an upper bound. The buffer passed to processBlock may be shorter, and your code should check for and handle this case.