mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
music track resampling
This commit is contained in:
@@ -309,10 +309,11 @@ object AudioMixer: Disposable {
|
||||
|
||||
// stop streaming if fadeBus is muted
|
||||
if (req.fadeTarget == 0.0 && track == fadeBus) {
|
||||
musicTrack.stop()
|
||||
musicTrack.currentTrack = null
|
||||
musicTrack.streamPlaying = false
|
||||
|
||||
ambientTrack.stop()
|
||||
ambientTrack.currentTrack = null
|
||||
ambientTrack.streamPlaying = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user