summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-28 20:37:59 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-30 01:18:11 +0200
commit2129cc290650527945d389c1de9c466b5b305183 (patch)
tree37cfb67c72d99e771b270e1527d275f82d128acc /src/audio
parentfixed cargen (diff)
downloadre3-2129cc290650527945d389c1de9c466b5b305183.tar
re3-2129cc290650527945d389c1de9c466b5b305183.tar.gz
re3-2129cc290650527945d389c1de9c466b5b305183.tar.bz2
re3-2129cc290650527945d389c1de9c466b5b305183.tar.lz
re3-2129cc290650527945d389c1de9c466b5b305183.tar.xz
re3-2129cc290650527945d389c1de9c466b5b305183.tar.zst
re3-2129cc290650527945d389c1de9c466b5b305183.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/AudioLogic.cpp4
-rw-r--r--src/audio/AudioManager.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 6865b7ae..18fe4fc5 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -3646,7 +3646,7 @@ cAudioManager::SetupJumboTaxiSound(uint8 vol)
}
bool
-cAudioManager::SetupJumboWhineSound(uint8 emittingVol, int32 freq)
+cAudioManager::SetupJumboWhineSound(uint8 emittingVol, uint32 freq)
{
const float SOUND_INTENSITY = 170.0f;
@@ -3678,7 +3678,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)
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 949de7d1..0b9dd4f7 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -405,11 +405,11 @@ public:
void SetUpLoopingCollisionSound(const cAudioCollision &col, uint8 counter);
void SetUpOneShotCollisionSound(const cAudioCollision &col);
bool SetupCrimeReport();
- bool SetupJumboEngineSound(uint8 vol, int32 freq);
+ bool SetupJumboEngineSound(uint8 vol, uint32 freq);
bool SetupJumboFlySound(uint8 emittingVol);
bool SetupJumboRumbleSound(uint8 emittingVol);
bool SetupJumboTaxiSound(uint8 vol);
- bool SetupJumboWhineSound(uint8 emittingVol, int32 freq);
+ bool SetupJumboWhineSound(uint8 emittingVol, uint32 freq);
void SetupPedComments(cPedParams *params, uint32 sound);
void SetupSuspectLastSeenReport();