I have problem with latency compensation. I call
setLatencySamples() and it works fine with regular plugin, and my DAW compensates the latency fine, but not in the external sidechain buffer.
In the buffer from external sidechain - which is in my code
getBusBuffer(buffer, true, 1).getSample(ch, i);
I get samples without latency compensation, There is some delay or ahead, I am not sure.
Is it normal behaviour? I use Logic Pro X, and at the moment I can’t check it in other DAW.
Is there any way to fix it in Logic Pro X?
And as I notice sometimes Logic Pro X compensate latency in the real time. I mean when I hit play in Logic Pro X, and in my plugin there is no latency, and suddenly I check for example lookahead option in my plugin which generate latency, then Logic Pro needs about 2 seconds and finally he compensate that latecy. But sometimes I need to hit stop in Logic, and then again play to compensate latency. So for me it looks like it’s some problem in Logic Pro. But not sure.
Please help me.