Sync Playback to Display vs Audio Passthrough in Kodi 17

Hi guys!

The first thing I have to say is that Kodi 17 works great even with 4k@60p videos that I was struggling to play before, so congratulations! That said, I will like to comment something about removing the possibility of having “Sync Playback to Display” and “Audio Passthrough” enabled at the same time.

I have one Kodi 15.2 in Windows and one Kodi 16.1 in Linux, and testing now with Kodi 17 in Linux too. For both Kodi 15.2 and 16.1 I have enabled both options at the same time (“Sync Playback to Display” and “Audio Passthrough”), because if I leave “Sync Playback to Display” off, I get the repeated frame about 40″, and is something I can’t stand Sad

I know the best solution would be to turn off “Audio Passthrough”, but I would prefer the AV doing that work, and having a TV and PJ able to use 24Hz, 50Hz and 60Hz refresh rates, I don’t even notice any audio delay when “Sync Playback to Display” is on. I have done extensive tests, and even after 120 minutes of continue playing a 23.976fps movie, I can’t notice any audio delay at the end. In fact, the “CodecInfo” is always reporting something like:

For 24Hz content in Linux:

Code:
refresh: 23.976 missed: 0 speed: 0.000%

Or the same screen + same movie in Windows:

Code:
refresh: 24 missed: 0 speed: 0.100%

So even if it does not seem to be doing anything/much, it removes this duplicate frame every 40″ and everything plays smooth and without noticeable delays, at least for me Smile

So the question is… is there any way or hack to be able to have both options enabled at the same time in Kodi 17?

Thank you very much in advance.
best.