diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-28 20:48:28 +0300 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-28 20:48:28 +0300 |
commit | 7576b003c6862280cd2c7ca13e4804c8f78f28ae (patch) | |
tree | 6b2d2ed558057e81d9d9252ff9120bc87f98dcd1 /src/audio | |
parent | 1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4 (diff) |
change for better understanding
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 feaa6708..754bce18 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -794,7 +794,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((int32)sample.m_nFrequency, (int32)(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); } |