Dolby Vision for Minix U22X-J (Max) and Ugoos AM6+

Does anyone know what side of the code is responsible for audio sync? Looks like there is code for it on both the kodi side and the kernel side, in video.c.