diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-03-21 14:51:30 +0100 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-03-22 17:30:54 +0100 |
commit | a097f225bcc4782820f76cc79b2c9121daae109b (patch) | |
tree | 4a599984a9b67565f3345054760426af155ec038 /src/audio/PoliceRadio.cpp | |
parent | Cleanup audio code + fixes for review (diff) | |
download | re3-a097f225bcc4782820f76cc79b2c9121daae109b.tar re3-a097f225bcc4782820f76cc79b2c9121daae109b.tar.gz re3-a097f225bcc4782820f76cc79b2c9121daae109b.tar.bz2 re3-a097f225bcc4782820f76cc79b2c9121daae109b.tar.lz re3-a097f225bcc4782820f76cc79b2c9121daae109b.tar.xz re3-a097f225bcc4782820f76cc79b2c9121daae109b.tar.zst re3-a097f225bcc4782820f76cc79b2c9121daae109b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/PoliceRadio.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/PoliceRadio.cpp b/src/audio/PoliceRadio.cpp index a1f719ea..60888f71 100644 --- a/src/audio/PoliceRadio.cpp +++ b/src/audio/PoliceRadio.cpp @@ -11,6 +11,9 @@ #include "Vehicle.h"
#include "World.h"
+constexpr int maxVolume = 127;
+constexpr int channels = ARRAY_SIZE(cAudioManager::m_asActiveSamples);
+constexpr int policeChannel = channels + 1;
struct tPoliceRadioZone {
char m_aName[8];
|