summaryrefslogtreecommitdiffstats
path: root/src/audio/audio_enums.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-23 15:47:16 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:45:18 +0200
commit60bb16d26c720bc9f122824f6cdb373e2c359e2d (patch)
tree77b470d6c36827beeba38e741c6887ad71affe64 /src/audio/audio_enums.h
parentFix MAX_DIGITAL_MIXER_CHANNELS (diff)
downloadre3-60bb16d26c720bc9f122824f6cdb373e2c359e2d.tar
re3-60bb16d26c720bc9f122824f6cdb373e2c359e2d.tar.gz
re3-60bb16d26c720bc9f122824f6cdb373e2c359e2d.tar.bz2
re3-60bb16d26c720bc9f122824f6cdb373e2c359e2d.tar.lz
re3-60bb16d26c720bc9f122824f6cdb373e2c359e2d.tar.xz
re3-60bb16d26c720bc9f122824f6cdb373e2c359e2d.tar.zst
re3-60bb16d26c720bc9f122824f6cdb373e2c359e2d.zip
Diffstat (limited to 'src/audio/audio_enums.h')
-rw-r--r--src/audio/audio_enums.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/audio/audio_enums.h b/src/audio/audio_enums.h
index cd3e2e4a..e9e6afb7 100644
--- a/src/audio/audio_enums.h
+++ b/src/audio/audio_enums.h
@@ -137,3 +137,26 @@ enum eAudioType
AUDIOTYPE_POLICERADIO,
TOTAL_AUDIO_TYPES,
};
+
+#ifdef GTA_PS2
+enum
+{
+ NUM_CHANNELS_GENERIC = 42,
+ CHANNEL_POLICE_RADIO = NUM_CHANNELS_GENERIC,
+ CHANNEL_MISSION_AUDIO_1,
+ CHANNEL_MISSION_AUDIO_2,
+ CHANNEL_PLAYER_VEHICLE_ENGINE,
+ NUM_CHANNELS
+};
+#else
+enum
+{
+#ifdef PS2_AUDIO_CHANNELS
+ NUM_CHANNELS_GENERIC = 42,
+#else
+ NUM_CHANNELS_GENERIC = 27,
+#endif
+ CHANNEL_POLICE_RADIO,
+ NUM_CHANNELS
+};
+#endif