summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-07 21:01:44 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-07 21:01:44 +0100
commit6b0fa20b8b40b7211b18129ebad108f314a0d5e0 (patch)
treefd182df7fd7ffb931823256c256e0bf492f44824 /src/core
parentFix pickup text (diff)
downloadre3-6b0fa20b8b40b7211b18129ebad108f314a0d5e0.tar
re3-6b0fa20b8b40b7211b18129ebad108f314a0d5e0.tar.gz
re3-6b0fa20b8b40b7211b18129ebad108f314a0d5e0.tar.bz2
re3-6b0fa20b8b40b7211b18129ebad108f314a0d5e0.tar.lz
re3-6b0fa20b8b40b7211b18129ebad108f314a0d5e0.tar.xz
re3-6b0fa20b8b40b7211b18129ebad108f314a0d5e0.tar.zst
re3-6b0fa20b8b40b7211b18129ebad108f314a0d5e0.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/config.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/core/config.h b/src/core/config.h
index a06ed1be..874ff39a 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -364,9 +364,21 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
// Audio
#define AUDIO_CACHE // cache sound lengths to speed up the cold boot
-//#define PS2_AUDIO // changes audio paths for cutscenes and radio to PS2 paths, needs vbdec to support VB with MSS
+//#define PS2_AUDIO_PATHS // changes audio paths for cutscenes and radio to PS2 paths (needs vbdec on MSS builds)
//#define AUDIO_OAL_USE_SNDFILE // use libsndfile to decode WAVs instead of our internal decoder
+#define AUDIO_OAL_USE_MPG123 // use mpg123 to support mp3 files
+#ifdef AUDIO_OPUS
+#define AUDIO_OAL_USE_OPUS // enable support of opus files
+//#define OPUS_AUDIO_PATHS // (not supported on VC yet) changes audio paths to opus paths (doesn't work if AUDIO_OAL_USE_OPUS isn't enabled)
+//#define OPUS_SFX // enable if your sfx.raw is encoded with opus (doesn't work if AUDIO_OAL_USE_OPUS isn't enabled)
+
+#ifndef AUDIO_OAL_USE_OPUS
+#undef OPUS_AUDIO_PATHS
+#undef OPUS_SFX
+#endif
+
+#endif
#ifdef LIBRW
// these are not supported with librw yet