summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2020-06-29 10:23:02 +0200
committerGitHub <noreply@github.com>2020-06-29 10:23:02 +0200
commita01fe76db72a8890f56da21c9e04503f487e7654 (patch)
treebdab5315528220a05436eeb81756784ac74930b9 /src/audio/AudioManager.cpp
parentMerge remote-tracking branch 'upstream/master' (diff)
parentUpdate MBlur.cpp (diff)
downloadre3-a01fe76db72a8890f56da21c9e04503f487e7654.tar
re3-a01fe76db72a8890f56da21c9e04503f487e7654.tar.gz
re3-a01fe76db72a8890f56da21c9e04503f487e7654.tar.bz2
re3-a01fe76db72a8890f56da21c9e04503f487e7654.tar.lz
re3-a01fe76db72a8890f56da21c9e04503f487e7654.tar.xz
re3-a01fe76db72a8890f56da21c9e04503f487e7654.tar.zst
re3-a01fe76db72a8890f56da21c9e04503f487e7654.zip
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r--src/audio/AudioManager.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index c34ad90a..757254e6 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -235,6 +235,12 @@ cAudioManager::SetEffectsFadeVol(uint8 volume) const
}
void
+cAudioManager::SetMonoMode(uint8 mono)
+{
+ SampleManager.SetMonoMode(mono);
+}
+
+void
cAudioManager::SetMusicFadeVol(uint8 volume) const
{
SampleManager.SetMusicFadeVolume(volume);
@@ -384,9 +390,9 @@ cAudioManager::ReacquireDigitalHandle() const
}
void
-cAudioManager::SetDynamicAcousticModelingStatus(bool status)
+cAudioManager::SetDynamicAcousticModelingStatus(uint8 status)
{
- m_bDynamicAcousticModelingStatus = status;
+ m_bDynamicAcousticModelingStatus = status!=0;
}
bool
@@ -966,4 +972,4 @@ cAudioManager::ComputeEmittingVolume(uint8 emittingVolume, float intensity, floa
return (quatIntensity - (dist - diffIntensity)) * (float)emittingVolume / quatIntensity;
return emittingVolume;
}
-#endif
+#endif \ No newline at end of file