diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-26 14:20:12 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-26 14:20:12 +0200 |
commit | d5a72fa597e7d0885f7a398e204c4085aff5c241 (patch) | |
tree | b71959c19fa9b88c159ed753ff00c96e9c3b74f9 /src/audio/AudioManager.cpp | |
parent | Added timing to RwTextureGtaStreamRead (diff) | |
download | re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.gz re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.bz2 re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.lz re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.xz re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.tar.zst re3-d5a72fa597e7d0885f7a398e204c4085aff5c241.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/AudioManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index 1428bb9f..19c994e3 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -582,8 +582,8 @@ cAudioManager::ComputePan(float dist, CVector *vec) return min(107, panTable[index] + 63); } -uint32 -cAudioManager::ComputeVolume(int emittingVolume, float soundIntensity, float distance) const +uint8 +cAudioManager::ComputeVolume(uint8 emittingVolume, float soundIntensity, float distance) const { float newSoundIntensity; if(soundIntensity <= 0.0f) return 0; |