diff options
author | shfil <filip.gawin@zoho.com> | 2020-09-28 20:05:28 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-09-30 01:17:14 +0200 |
commit | f35fd97c7632784e206093891272f03dc11653a8 (patch) | |
tree | f0ed3b005012332e734a9c47d27af7ff7fa7781b /src/audio | |
parent | Add target arm64 (diff) | |
download | re3-f35fd97c7632784e206093891272f03dc11653a8.tar re3-f35fd97c7632784e206093891272f03dc11653a8.tar.gz re3-f35fd97c7632784e206093891272f03dc11653a8.tar.bz2 re3-f35fd97c7632784e206093891272f03dc11653a8.tar.lz re3-f35fd97c7632784e206093891272f03dc11653a8.tar.xz re3-f35fd97c7632784e206093891272f03dc11653a8.tar.zst re3-f35fd97c7632784e206093891272f03dc11653a8.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/AudioManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index c0a70e31..aadfde92 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -811,7 +811,7 @@ cAudioManager::ProcessActiveQueues() if (sample.m_nFrequency != m_asActiveSamples[j].m_nFrequency) { int32 freq; if (sample.m_nFrequency <= m_asActiveSamples[j].m_nFrequency) { - freq = Max(sample.m_nFrequency, m_asActiveSamples[j].m_nFrequency - 6000); + freq = Max((int32)sample.m_nFrequency, (int32)(m_asActiveSamples[j].m_nFrequency) - 6000); } else { freq = Min(sample.m_nFrequency, m_asActiveSamples[j].m_nFrequency + 6000); } |