From a1e4bbc3c1c7572f5382e87b49aa519a4d318d74 Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 11 Oct 2019 19:21:58 +0800 Subject: [PATCH] Fix fading in and out when switching to fast music --- src/audio/music_information.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/audio/music_information.cpp b/src/audio/music_information.cpp index e56a45f56..3db5792a4 100644 --- a/src/audio/music_information.cpp +++ b/src/audio/music_information.cpp @@ -254,6 +254,8 @@ void MusicInformation::update(float dt) float fraction=m_time_since_faster/m_faster_time; m_normal_music->setVolume(1-fraction); m_fast_music->setVolume(fraction); + m_normal_music->update(); + m_fast_music->update(); break; } case SOUND_FASTER: {