diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-23 15:47:16 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:45:18 +0200 |
commit | 60bb16d26c720bc9f122824f6cdb373e2c359e2d (patch) | |
tree | 77b470d6c36827beeba38e741c6887ad71affe64 /src/audio/audio_enums.h | |
parent | Fix MAX_DIGITAL_MIXER_CHANNELS (diff) | |
download | re3-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.h | 23 |
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 |