[Scummvm-git-logs] scummvm master -> 7eeb006164e8b654f79b66d8b8de1f1ff66eabce
Die4Ever
noreply at scummvm.org
Tue Jan 4 22:46:38 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7eeb006164 GROOVIE: lower default sound effect volume
Commit: 7eeb006164e8b654f79b66d8b8de1f1ff66eabce
https://github.com/scummvm/scummvm/commit/7eeb006164e8b654f79b66d8b8de1f1ff66eabce
Author: Die4Ever (die4ever2005 at gmail.com)
Date: 2022-01-04T16:46:24-06:00
Commit Message:
GROOVIE: lower default sound effect volume
Changed paths:
engines/groovie/video/roq.cpp
diff --git a/engines/groovie/video/roq.cpp b/engines/groovie/video/roq.cpp
index e60a82ab0a5..edfed359bd0 100644
--- a/engines/groovie/video/roq.cpp
+++ b/engines/groovie/video/roq.cpp
@@ -996,7 +996,9 @@ ROQSoundPlayer::~ROQSoundPlayer() {
void ROQSoundPlayer::createAudioStream(bool stereo) {
_audioStream = Audio::makeQueuingAudioStream(22050, stereo);
- g_system->getMixer()->playStream(Audio::Mixer::kSFXSoundType, &_soundHandle, _audioStream);
+ Audio::Mixer *mixer = g_system->getMixer();
+ mixer->playStream(Audio::Mixer::kSFXSoundType, &_soundHandle, _audioStream);
+ mixer->setChannelVolume(_soundHandle, 100);
}
} // End of Groovie namespace
More information about the Scummvm-git-logs
mailing list