From f945dbc0fb86a8db82d99cb524e54c1f0a0b2371 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 31 May 2020 21:01:36 +0300 Subject: [PATCH] dumb --- src/audio/sampman_miles.cpp | 2 +- src/audio/sampman_oal.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp index 406e8716..5893ea64 100644 --- a/src/audio/sampman_miles.cpp +++ b/src/audio/sampman_miles.cpp @@ -2289,7 +2289,7 @@ cSampleManager::SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, uint8 nEffect if ( nEffectFlag ) { if ( nStream == 1 ) // TODO(MIAMI): || nStream == 2 when we have second mission channel? - AIL_set_stream_volume(mp3Stream[nStream], 64*vol*m_nEffectsVolume >> 14); + AIL_set_stream_volume(mp3Stream[nStream], 128*vol*m_nEffectsVolume >> 14); else AIL_set_stream_volume(mp3Stream[nStream], m_nEffectsFadeVolume*vol*m_nEffectsVolume >> 14); } 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); }