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:13:46 +0100
commitef13866af6e08797030865a33a1d5ba260a833bf (patch)
treedf0b001d6d4b5e98e83488fac1b26f9632346e10 /src/core
parentmissing changes (diff)
downloadre3-ef13866af6e08797030865a33a1d5ba260a833bf.tar
re3-ef13866af6e08797030865a33a1d5ba260a833bf.tar.gz
re3-ef13866af6e08797030865a33a1d5ba260a833bf.tar.bz2
re3-ef13866af6e08797030865a33a1d5ba260a833bf.tar.lz
re3-ef13866af6e08797030865a33a1d5ba260a833bf.tar.xz
re3-ef13866af6e08797030865a33a1d5ba260a833bf.tar.zst
re3-ef13866af6e08797030865a33a1d5ba260a833bf.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 9e52311c..295ddee0 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -356,9 +356,21 @@ enum Config {
// Audio
#define RADIO_SCROLL_TO_PREV_STATION
#define AUDIO_CACHE
-//#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 // 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
// IMG
#define BIG_IMG // allows to read larger img files