mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
updating Gdx.audio on separate thread
This commit is contained in:
@@ -18,7 +18,8 @@ class AudioManagerRunnable : Runnable {
|
||||
dT = (T - oldT) / 1000000000f
|
||||
oldT = T;
|
||||
AudioManager.update(dT)
|
||||
Thread.sleep(20L)
|
||||
// println("AudioManagerRunnable dT = ${dT * 1000f} ms")
|
||||
Thread.sleep(30L)
|
||||
}
|
||||
catch (e: InterruptedException) {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user