mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 05:24:06 +09:00
read sound effects from RAM
This commit is contained in:
@@ -49,7 +49,6 @@ class TerrarumAudioMixerTrack(
|
||||
get() = field
|
||||
set(value) {
|
||||
field = value
|
||||
currentTrack?.gdxMusic?.volume = volume.toFloat()
|
||||
}
|
||||
|
||||
val maxVolume: Double
|
||||
@@ -182,7 +181,7 @@ class TerrarumAudioMixerTrack(
|
||||
}
|
||||
|
||||
fun fireSongFinishHook() {
|
||||
currentTrack?.songFinishedHook?.invoke(currentTrack!!.gdxMusic)
|
||||
currentTrack?.songFinishedHook?.invoke(currentTrack!!)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user