summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioLogic.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-28 20:37:59 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-28 20:37:59 +0200
commit5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8 (patch)
tree82a4bb8515ba6daecca9df9c408f1ef56ff273ab /src/audio/AudioLogic.cpp
parentfixed cargen (diff)
downloadre3-5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8.tar
re3-5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8.tar.gz
re3-5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8.tar.bz2
re3-5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8.tar.lz
re3-5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8.tar.xz
re3-5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8.tar.zst
re3-5144b5051ccf7bbbbbf6022e7526431dd8fe2fa8.zip
Diffstat (limited to 'src/audio/AudioLogic.cpp')
-rw-r--r--src/audio/AudioLogic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 5ea03aff..174bd5fa 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -2796,7 +2796,7 @@ cAudioManager::SetupJumboTaxiSound(uint8 vol)
}
bool
-cAudioManager::SetupJumboWhineSound(uint8 emittingVol, int32 freq)
+cAudioManager::SetupJumboWhineSound(uint8 emittingVol, uint32 freq)
{
const float SOUND_INTENSITY = 170.0f;
@@ -2828,7 +2828,7 @@ cAudioManager::SetupJumboWhineSound(uint8 emittingVol, int32 freq)
}
bool
-cAudioManager::SetupJumboEngineSound(uint8 vol, int32 freq)
+cAudioManager::SetupJumboEngineSound(uint8 vol, uint32 freq)
{
const float SOUND_INTENSITY = 180.0f;
if (m_sQueueSample.m_fDistance >= SOUND_INTENSITY)