The default latency is by frame rate and by the number of buffers used in Settings/System/Display. Default is 3
.
It’s ((number of buffers + 1) / frame rate) * 1000 like for 24Hz: ((3 + 1) / 24) * 1000 = 166.67ms.
With the advancedsettings.xml
you are able to modify this hard coded value, increment by positive or decrement by negative value used as delay.
You need to make sure by yourself there is no audio offset set in player audio settings as this does take into count as well.
This value is used and set by the addon audio offset manager so it might confuse as it have much more dynamic adjustments possible. And I am not sure if the audio offset does get set to 0
again on end of playback.