Sorry it is an old topic but,
Yes I can confirm that, setLatencySamples works perfectly in all of the daws except FL Studio.
Weirdly, when I don't use setLatencySamples, FL studio matches the delay compensation perfectly
So what is the difference that only FL studio doesn't take setLatencySamples correctly? Have anyone solved that?