    }

        if (latencyAudioChecker != null) {
            const frameClosestData = latencyAudioChecker.GetItemByTs(Math.floor(timingInfo.renderer.currentAudioTS), false);
            if (frameClosestData.valid) {
                const currentLatencyMs = systemAudioLatencyMs + (Date.now() - Number(frameClosestData.clkms));
                playerUpdateAudioLatencyUI(currentLatencyMs, systemAudioLatencyMs);
            }
        }

        animFrame = requestAnimationFrame(playerAudioTimestamps);
    }

  