music track resampling

This commit is contained in:
minjaesong
2023-12-11 03:35:03 +09:00
parent cc7f7b11d8
commit 949376b26a
6 changed files with 133 additions and 7 deletions

View File

@@ -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
}
}
}