summaryrefslogtreecommitdiffstats
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-20 13:34:11 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-20 13:34:11 +0200
commit9c40489589d58093ec73cc039780a0d5b66c3207 (patch)
tree8291f971a288f8fbe228f74bb3b9869b5824064f /src/audio/PolRadio.cpp
parentCAutomobile done (diff)
parentAudio refactoring: (diff)
downloadre3-9c40489589d58093ec73cc039780a0d5b66c3207.tar
re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.gz
re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.bz2
re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.lz
re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.xz
re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.zst
re3-9c40489589d58093ec73cc039780a0d5b66c3207.zip
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r--src/audio/PolRadio.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp
index dd1724ab..f741a477 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -104,16 +104,16 @@ cAudioManager::DoPoliceRadioCrackle()
m_sQueueSample.m_nSampleIndex = SFX_POLICE_RADIO_CRACKLE;
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
m_sQueueSample.m_bIs2D = TRUE;
- m_sQueueSample.m_nReleasingVolumeModificator = 10;
+ m_sQueueSample.m_nPriority = 10;
m_sQueueSample.m_nFrequency = SampleManager.GetSampleBaseFrequency(SFX_POLICE_RADIO_CRACKLE);
m_sQueueSample.m_nVolume = m_anRandomTable[2] % 20 + 15;
m_sQueueSample.m_nLoopCount = 0;
SET_EMITTING_VOLUME(m_sQueueSample.m_nVolume);
SET_LOOP_OFFSETS(SFX_POLICE_RADIO_CRACKLE)
- m_sQueueSample.m_bReleasingSoundFlag = FALSE;
+ m_sQueueSample.m_bStatic = FALSE;
SET_SOUND_REVERB(FALSE);
- m_sQueueSample.m_nOffset = 63;
- m_sQueueSample.m_nReleasingVolumeDivider = 3;
+ m_sQueueSample.m_nPan = 63;
+ m_sQueueSample.m_nFramesToPlay = 3;
SET_SOUND_REFLECTION(FALSE);
AddSampleToRequestedQueue();
}