
                    if (ctime > (nextTime + 0.01)) {
                        lateCounter++;
                        if (lateCounter >= lateLimit && windowHidden()) {
                            info("Sorry, can't play music properly in the background");
                            interface.stop();
                            return;
                        }
                    } else {
                        lateCounter = 0;
                    }

                    nextTime = player.play(nextTime, cur