summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-13 18:36:30 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-13 19:01:23 +0100
commit045c63806736ca2572b72b0aaa008be556ee5695 (patch)
tree00e1eb368eb1b5ffebd3753101d91ff036242ff4 /src/audio/AudioManager.cpp
parentFix molotov (diff)
downloadre3-045c63806736ca2572b72b0aaa008be556ee5695.tar
re3-045c63806736ca2572b72b0aaa008be556ee5695.tar.gz
re3-045c63806736ca2572b72b0aaa008be556ee5695.tar.bz2
re3-045c63806736ca2572b72b0aaa008be556ee5695.tar.lz
re3-045c63806736ca2572b72b0aaa008be556ee5695.tar.xz
re3-045c63806736ca2572b72b0aaa008be556ee5695.tar.zst
re3-045c63806736ca2572b72b0aaa008be556ee5695.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index d825fb89..a27508ce 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -427,7 +427,7 @@ cAudioManager::AddReleasingSounds()
int8 queue = m_bActiveSampleQueue == 0;
for(int32 i = 0; i < m_bSampleRequestQueuesStatus[queue]; i++) {
- tActiveSample &sample = m_asSamples[queue][m_abSampleQueueIndexTable[queue][i]];
+ tSound &sample = m_asSamples[queue][m_abSampleQueueIndexTable[queue][i]];
if (sample.m_bLoopEnded) continue;
toProcess[i] = false;
@@ -9438,7 +9438,7 @@ void
cAudioManager::AdjustSamplesVolume()
{
for(int i = 0; i < m_bSampleRequestQueuesStatus[m_bActiveSampleQueue]; i++) {
- tActiveSample* pSample = &m_asSamples[m_bActiveSampleQueue][m_abSampleQueueIndexTable[m_bActiveSampleQueue][i] + 1];
+ tSound* pSample = &m_asSamples[m_bActiveSampleQueue][m_abSampleQueueIndexTable[m_bActiveSampleQueue][i] + 1];
if(!pSample->m_bBankIndex) // all non-speech sounds on PC
pSample->m_bEmittingVolume = ComputeEmittingVolume(