summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-27 13:33:39 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-27 13:33:39 +0200
commit883d8172b0403162f97ae9a0d25c97f18e9addd2 (patch)
tree7d762c5baed163bcf90c532290f622b9e65676ca /src/core
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
parentMulti-threaded audio fixes (diff)
downloadre3-883d8172b0403162f97ae9a0d25c97f18e9addd2.tar
re3-883d8172b0403162f97ae9a0d25c97f18e9addd2.tar.gz
re3-883d8172b0403162f97ae9a0d25c97f18e9addd2.tar.bz2
re3-883d8172b0403162f97ae9a0d25c97f18e9addd2.tar.lz
re3-883d8172b0403162f97ae9a0d25c97f18e9addd2.tar.xz
re3-883d8172b0403162f97ae9a0d25c97f18e9addd2.tar.zst
re3-883d8172b0403162f97ae9a0d25c97f18e9addd2.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/config.h b/src/core/config.h
index f94384cf..bb1e4dbe 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -403,6 +403,7 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
//#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
+#define MULTITHREADED_AUDIO // for streams. requires C++11 or later
#ifdef AUDIO_OPUS
#define AUDIO_OAL_USE_OPUS // enable support of opus files
@@ -516,5 +517,6 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
#undef FREE_CAM
#undef BIG_IMG
#undef PS2_AUDIO_CHANNELS
+#undef MULTITHREADED_AUDIO
#undef RADIO_SCROLL_TO_PREV_STATION
#endif