summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-12 14:03:38 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-12 14:03:38 +0200
commit0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c (patch)
tree440bc97306a8e8ae362fa40933e6217aaf11ada3 /src/audio/AudioManager.cpp
parentSync audio changes from master (diff)
downloadre3-0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c.tar
re3-0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c.tar.gz
re3-0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c.tar.bz2
re3-0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c.tar.lz
re3-0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c.tar.xz
re3-0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c.tar.zst
re3-0a2df3ca4c8daa180c75684fe54a3e04fb30ff8c.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index fce86915..8e6ef4ff 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -466,7 +466,8 @@ cAudioManager::CheckForAnAudioFileOnCD()
char
cAudioManager::GetCDAudioDriveLetter()
{
- if(m_bIsInitialised) return SampleManager.GetCDAudioDriveLetter();
+ if (m_bIsInitialised)
+ return SampleManager.GetCDAudioDriveLetter();
return '\0';
}
@@ -912,7 +913,7 @@ cAudioManager::ProcessActiveQueues()
}
for (int32 i = 0; i < m_SampleRequestQueuesStatus[m_nActiveSampleQueue]; i++) {
- tSound& sample = m_asSamples[m_nActiveSampleQueue][m_abSampleQueueIndexTable[m_nActiveSampleQueue][i]];
+ tSound &sample = m_asSamples[m_nActiveSampleQueue][m_abSampleQueueIndexTable[m_nActiveSampleQueue][i]];
if (sample.m_nSampleIndex != NO_SAMPLE) {
for (int32 j = 0; j < m_nActiveSamples; j++) {
if (sample.m_nEntityIndex == m_asActiveSamples[j].m_nEntityIndex && sample.m_nCounter == m_asActiveSamples[j].m_nCounter &&