mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-19 06:54:05 +09:00
read sound effects from RAM
This commit is contained in:
@@ -124,7 +124,6 @@ class AudioMixer : Disposable {
|
||||
fun getFreeGuiTrackNoMatterWhat(): TerrarumAudioMixerTrack {
|
||||
synchronized(this) {
|
||||
val it = getFreeGuiTrack() ?: guiTracks.minBy { it.playStartedTime }.also { it.checkedOutTime = System.nanoTime() }
|
||||
println("GuiTrack ${it.name}")
|
||||
return it
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user