Add macros to set sample loop offsets

This commit is contained in:
Sergeanur committed 2021-06-24 21:34:33 +03:00
1 parent 6426963807
commit 1b5dbc4b41
5 files changed
+115 -190

No files matched your search

+2
View File
@@ -1039,8 +1039,10 @@ cAudioManager::ClearActiveSamples()
m_asActiveSamples[i].m_bIsProcessed = FALSE;
m_asActiveSamples[i].m_bLoopEnded = FALSE;
m_asActiveSamples[i].m_nLoopCount = 1;
#ifndef GTA_PS2
m_asActiveSamples[i].m_nLoopStart = 0;
m_asActiveSamples[i].m_nLoopEnd = -1;
#endif
m_asActiveSamples[i].m_fSpeedMultiplier = 0.0f;
m_asActiveSamples[i].m_fSoundIntensity = 200.0f;
m_asActiveSamples[i].m_nOffset = 63;