This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix build (if -> ifdef)
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/audio/AudioManager.cpp
There are no files selected for viewing
|
|
@@ -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)); |
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.