commit e6b7ea58d68e7f25b637bb4ec967d738fb83c3a8
parent febb7dcc1a7dc73daa9aa56661a56b826220e807
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Tue, 3 Dec 2019 21:44:17 +0000
Fix dr_flac SSE4.1
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/kfr/io/audiofile.hpp b/include/kfr/io/audiofile.hpp
@@ -37,6 +37,14 @@
#define DR_FLAC_NO_SIMD 1
#endif
+#if !defined CMT_ARCH_SSE2
+#define DRFLAC_NO_SSE2 1
+#endif
+
+#if !defined CMT_ARCH_SSE41
+#define DRFLAC_NO_SSE41 1
+#endif
+
#ifndef KFR_DISABLE_WAV
#define DR_WAV_NO_STDIO
#define DR_WAV_NO_CONVERSION_API