diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-24 12:11:36 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-24 12:11:36 +0200 |
commit | 38f4ea7aa3773e5fa9ff99fa131b7db223117009 (patch) | |
tree | 3c37be5546d6f21faea73fb8e55263c77ce744d8 /src/audio/PolRadio.cpp | |
parent | Adjust plane free cam values for sparks to be visible in Dodo (diff) | |
download | re3-38f4ea7aa3773e5fa9ff99fa131b7db223117009.tar re3-38f4ea7aa3773e5fa9ff99fa131b7db223117009.tar.gz re3-38f4ea7aa3773e5fa9ff99fa131b7db223117009.tar.bz2 re3-38f4ea7aa3773e5fa9ff99fa131b7db223117009.tar.lz re3-38f4ea7aa3773e5fa9ff99fa131b7db223117009.tar.xz re3-38f4ea7aa3773e5fa9ff99fa131b7db223117009.tar.zst re3-38f4ea7aa3773e5fa9ff99fa131b7db223117009.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/PolRadio.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp index 553cf287..7688566b 100644 --- a/src/audio/PolRadio.cpp +++ b/src/audio/PolRadio.cpp @@ -260,7 +260,11 @@ cAudioManager::ServicePoliceRadioChannel(uint8 wantedLevel) default: freq = SampleManager.GetSampleBaseFrequency(sample); break; } PoliceChannelFreq = freq; +#ifdef USE_TIME_SCALE_FOR_AUDIO + SampleManager.SetChannelFrequency(CHANNEL_POLICE_RADIO, freq * CTimer::GetTimeScale()); +#else SampleManager.SetChannelFrequency(CHANNEL_POLICE_RADIO, freq); +#endif SampleManager.SetChannelVolume(CHANNEL_POLICE_RADIO, 100); SampleManager.SetChannelPan(CHANNEL_POLICE_RADIO, 63); #ifndef GTA_PS2 |