Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix build (if -> ifdef)
  • Loading branch information
Filip Gawin committed Sep 29, 2020
1 parent a0b6410 commit 8424eabf2240541782fa6c9b358cdef022477778
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) {
#if FIX_BUGS
#ifdef FIX_BUGS
freq = Max((int32)sample.m_nFrequency, (int32)m_asActiveSamples[j].m_nFrequency - 6000);
#else
freq = Max((int32)sample.m_nFrequency, int32(m_asActiveSamples[j].m_nFrequency - 6000));

0 comments on commit 8424eab

Please sign in to comment.