Set Latency Samples change

Hello,
I am using the
setLatencySamples(480)
setLatencySamples(0)

assigned to a toggle button in the process block
the latency changes in Logic but I have to start and stop the music to apply the change…
on windows cubase this works fine while playback
any ideas what is wrong and in the AU case (Logic) is not happening in real time?
many thanks!

It would be very optimistic to expect DAWs to be able to smoothly handle a change in plugin latency! I’m not surprised at all that some may require a play restart before they pick up the change.

many thanks :slight_smile: