diff options
author | erorcun <erayorcunus@gmail.com> | 2021-02-02 03:31:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 03:31:29 +0100 |
commit | 1eb77c4d6d758b8efcc229c0b7056e6974dbb700 (patch) | |
tree | 73612989f5979a41d58319429723301efb3710e2 /src/audio/AudioLogic.cpp | |
parent | Add radio off text (diff) | |
parent | Overhaul MusicManager - fix radio bugs, scroll to prev station, radio off text (diff) | |
download | re3-1eb77c4d6d758b8efcc229c0b7056e6974dbb700.tar re3-1eb77c4d6d758b8efcc229c0b7056e6974dbb700.tar.gz re3-1eb77c4d6d758b8efcc229c0b7056e6974dbb700.tar.bz2 re3-1eb77c4d6d758b8efcc229c0b7056e6974dbb700.tar.lz re3-1eb77c4d6d758b8efcc229c0b7056e6974dbb700.tar.xz re3-1eb77c4d6d758b8efcc229c0b7056e6974dbb700.tar.zst re3-1eb77c4d6d758b8efcc229c0b7056e6974dbb700.zip |
Diffstat (limited to 'src/audio/AudioLogic.cpp')
-rw-r--r-- | src/audio/AudioLogic.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp index ce543f33..c7b26711 100644 --- a/src/audio/AudioLogic.cpp +++ b/src/audio/AudioLogic.cpp @@ -8846,7 +8846,7 @@ cAudioManager::ProcessFrontEnd() break; case SOUND_PICKUP_BONUS: case SOUND_FRONTEND_MENU_STARTING: - case SOUND_HUD_SOUND: + case SOUND_HUD: stereo = true; m_sQueueSample.m_nSampleIndex = SFX_INFO_LEFT; center = true; @@ -8882,11 +8882,11 @@ cAudioManager::ProcessFrontEnd() case SOUND_CLOCK_TICK: m_sQueueSample.m_nSampleIndex = SFX_TIMER; break; - case SOUND_FRONTEND_NO_RADIO: - case SOUND_FRONTEND_RADIO_CHANGE: + case SOUND_FRONTEND_RADIO_TURN_OFF: + case SOUND_FRONTEND_RADIO_TURN_ON: m_sQueueSample.m_nSampleIndex = SFX_RADIO_CLICK; break; - case SOUND_FRONTEND_RADIO_CHANGE_2: + case SOUND_FRONTEND_HURRICANE: m_sQueueSample.m_nSampleIndex = SFX_HURRICANE_MA; break; case SOUND_BULLETTRACE_1: @@ -8937,9 +8937,9 @@ cAudioManager::ProcessFrontEnd() sample = m_asAudioEntities[m_sQueueSample.m_nEntityIndex].m_awAudioEvent[i]; - if (sample == SOUND_FRONTEND_NO_RADIO) + if (sample == SOUND_FRONTEND_RADIO_TURN_OFF) m_sQueueSample.m_nFrequency = 28509; - else if (sample == SOUND_FRONTEND_RADIO_CHANGE) + else if (sample == SOUND_FRONTEND_RADIO_TURN_ON) m_sQueueSample.m_nFrequency = 32000; else if (sample == SOUND_BULLETTRACE_1 || sample == SOUND_BULLETTRACE_2) { m_sQueueSample.m_nFrequency = SampleManager.GetSampleBaseFrequency(m_sQueueSample.m_nSampleIndex); |