summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-06-26 23:59:40 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-06-27 00:00:07 +0300
commit05a29c7e6cd621bcb5e05adea5175da84a30c3d8 (patch)
tree084aeb4f53d4596c208537d5d82c0eccaa2a8432 /src/core
parentab38b0089ea2cac0e7d6bd8c2aed6d4edae46025 (diff)
Multi-threaded audio fixes
Diffstat (limited to 'src/core')
-rw-r--r--src/core/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/config.h b/src/core/config.h
index abc81834..4efe12f0 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -399,7 +399,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
+#define MULTITHREADED_AUDIO // for streams. requires C++11 or later
#ifdef AUDIO_OPUS
#define AUDIO_OAL_USE_OPUS // enable support of opus files
@@ -513,5 +513,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