mp3 mx beta working

This commit is contained in:
kremsy
2014-03-27 18:40:13 +01:00
committed by Steffen Schröder
parent 6a92553e75
commit 46bf05225e
4 changed files with 41 additions and 11 deletions

View File

@ -341,7 +341,7 @@ class ManiaControl implements CommandListener, TimerListener {
// Yield for next tick
$loopEnd = microtime(true);
$sleepTime = (int) (5000 - ($loopEnd - $loopStart) * 1000000);
$sleepTime = (int) (2000 - ($loopEnd - $loopStart) * 1000000);
if ($sleepTime > 0) {
usleep($sleepTime);
}