kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit 5d3705b133c56c11c102ab0b339c089c3b90af1a
parent 1c62850dd20741201e34480ebced58dcd1bcb062
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date:   Fri, 26 Jan 2024 17:42:50 +0000

dr_flac: disable SSE4.1 if not enabled in compiler

Diffstat:
Msrc/io/audiofile-impl.cpp | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/io/audiofile-impl.cpp b/src/io/audiofile-impl.cpp @@ -38,6 +38,9 @@ CMT_PRAGMA_GNU(GCC diagnostic ignored "-Wunused-function") #ifndef KFR_DISABLE_FLAC #define DR_FLAC_IMPLEMENTATION #define DR_FLAC_NO_STDIO +#ifndef CMT_ARCH_SSE41 +#define DRFLAC_NO_SSE41 +#endif #include "dr/dr_flac.h" #endif #ifndef KFR_DISABLE_MP3