[Scummvm-git-logs] scummvm master -> 9026597a7f54bdb8a877f7d197fde787f022ed1d
aquadran
aquadran at gmail.com
Sun Feb 28 08:13:13 UTC 2021
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:
9026597a7f ICB: Fixed pan/volume typo
Commit: 9026597a7f54bdb8a877f7d197fde787f022ed1d
https://github.com/scummvm/scummvm/commit/9026597a7f54bdb8a877f7d197fde787f022ed1d
Author: PaweÅ KoÅodziejski (aquadran at users.sourceforge.net)
Date: 2021-02-28T09:13:04+01:00
Commit Message:
ICB: Fixed pan/volume typo
Changed paths:
engines/icb/sound/fx_manager.cpp
diff --git a/engines/icb/sound/fx_manager.cpp b/engines/icb/sound/fx_manager.cpp
index fa2f8297c9..b4abae193f 100644
--- a/engines/icb/sound/fx_manager.cpp
+++ b/engines/icb/sound/fx_manager.cpp
@@ -112,7 +112,7 @@ bool8 FxManager::Poll() {
float volumeConversion = Audio::Mixer::kMaxChannelVolume / 128.0f;
g_icb->_mixer->playStream(Audio::Mixer::kSFXSoundType, &m_effects[id]._handle,
makeLoopingAudioStream(m_effects[id]._stream, (m_effects[id].looped != 0) ? 0 : 1),
- -1, m_effects[id].pan * volumeConversion, m_effects[id].pan, DisposeAfterUse::NO);
+ -1, m_effects[id].volume * volumeConversion, m_effects[id].pan, DisposeAfterUse::NO);
m_effects[id].flags = Effect::PLAYING;
}
break;
More information about the Scummvm-git-logs
mailing list