summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-31 20:01:36 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-31 20:01:36 +0200
commitf945dbc0fb86a8db82d99cb524e54c1f0a0b2371 (patch)
tree7531109f27c98f882e9075438e4199d2a1e9ad37 /src/audio/sampman_oal.cpp
parentgame logic (diff)
downloadre3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.gz
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.bz2
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.lz
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.xz
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.zst
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.zip
Diffstat (limited to 'src/audio/sampman_oal.cpp')
-rw-r--r--src/audio/sampman_oal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index 210d128e..767e4aa0 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -1319,7 +1319,7 @@ cSampleManager::SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, uint8 nEffect
{
if ( nEffectFlag ) {
if ( nStream == 1 ) // TODO(MIAMI): || nStream == 2 when we have second mission channel?
- stream->SetVolume(64*vol*m_nEffectsVolume >> 14)
+ stream->SetVolume(128*vol*m_nEffectsVolume >> 14)
else
stream->SetVolume(m_nEffectsFadeVolume*nVolume*m_nEffectsVolume >> 14);
}