summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-15 16:57:35 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-15 16:57:35 +0100
commit4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f (patch)
treeecd6628c082ffdd0e12e1ac7616e69f9be0f55ac /src/audio
parentincoming "fuck" commit (diff)
parentFix Jumbo Sound reseting when walking (diff)
downloadre3-4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f.tar
re3-4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f.tar.gz
re3-4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f.tar.bz2
re3-4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f.tar.lz
re3-4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f.tar.xz
re3-4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f.tar.zst
re3-4bd7bafd7cef0c2f1238dcbbbf4282e6bc5a684f.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/AudioLogic.cpp1
-rw-r--r--src/audio/oal/stream.cpp2
-rw-r--r--src/audio/sampman_oal.cpp2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index cd341eac..1f32890c 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -4106,6 +4106,7 @@ cAudioManager::SetupJumboFlySound(uint8 emittingVol)
m_sQueueSample.m_nLoopEnd = SampleManager.GetSampleLoopEndOffset(m_sQueueSample.m_nSampleIndex);
m_sQueueSample.m_fSpeedMultiplier = 4.0f;
m_sQueueSample.m_fSoundIntensity = SOUND_INTENSITY;
+ m_sQueueSample.m_bReleasingSoundFlag = false;
m_sQueueSample.m_nReleasingVolumeDivider = 5;
m_sQueueSample.m_bReverbFlag = true;
m_sQueueSample.m_bRequireReflection = false; // todo port fix to re3
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index 81a78381..19fa4ec4 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -4,7 +4,7 @@
#include "stream.h"
#include "sampman.h"
-#ifdef _WIN32
+#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#ifdef AUDIO_OAL_USE_SNDFILE
#pragma comment( lib, "libsndfile-1.lib" )
#endif
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index ef070825..f53b1362 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -38,7 +38,7 @@
//TODO: max channels
//TODO: loop count
-#ifdef _WIN32
+#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#pragma comment( lib, "OpenAL32.lib" )
#endif