Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
change for better understanding
  • Loading branch information
theR4K committed Sep 28, 2020
1 parent 1ea89f5 commit 7576b003c6862280cd2c7ca13e4804c8f78f28ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

0 comments on commit 7576b00

Please sign in to comment.