[Scummvm-git-logs] scummvm master -> cf2e53d6d0cc163ece4bb4c0a163c3addb3a45cb
whoozle
noreply at scummvm.org
Mon Mar 9 00:05:26 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
cf2e53d6d0 PHOENIXVR: stop previous music stream before starting a new one
Commit: cf2e53d6d0cc163ece4bb4c0a163c3addb3a45cb
https://github.com/scummvm/scummvm/commit/cf2e53d6d0cc163ece4bb4c0a163c3addb3a45cb
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-03-09T00:05:07Z
Commit Message:
PHOENIXVR: stop previous music stream before starting a new one
Changed paths:
engines/phoenixvr/phoenixvr.cpp
diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 85619a2a5c5..8e0f3e38828 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -327,6 +327,8 @@ void PhoenixVREngine::playSound(const Common::String &sound, Audio::Mixer::Sound
}
if (music) {
+ if (!_currentMusic.empty())
+ stopSound(_currentMusic);
_currentMusic = sound;
_currentMusicVolume = volume;
}
More information about the Scummvm-git-logs
mailing list