mirror of https://github.com/AxioDL/boo.git
Fixes for Apple Silicon (cmake / soxr)
This commit is contained in:
parent
6ae9e93d31
commit
6faff77f86
|
@ -212,9 +212,13 @@ elseif(WIN32)
|
|||
Xinput
|
||||
)
|
||||
elseif(APPLE)
|
||||
set(AudioMatrix_SRC lib/audiodev/AudioMatrix.cpp)
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
|
||||
set(AudioMatrix_SRC lib/audiodev/AudioMatrixSSE.cpp)
|
||||
endif()
|
||||
target_sources(boo PRIVATE
|
||||
lib/audiodev/AQS.cpp
|
||||
lib/audiodev/AudioMatrixSSE.cpp
|
||||
${AudioMatrix_SRC}
|
||||
lib/inputdev/HIDListenerIOKit.cpp
|
||||
lib/inputdev/HIDDeviceIOKit.cpp
|
||||
lib/mac/ApplicationCocoa.mm
|
||||
|
|
|
@ -154,7 +154,7 @@ typedef __m128 v4sf;
|
|||
/*
|
||||
ARM NEON support macros
|
||||
*/
|
||||
#elif !defined(PFFFT_SIMD_DISABLE) && defined(__arm__)
|
||||
#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(__arm64__))
|
||||
# include <arm_neon.h>
|
||||
typedef float32x4_t v4sf;
|
||||
# define SIMD_SZ 4
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,11 @@
|
|||
#endif
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#if __x86_64__
|
||||
#include <xmmintrin.h>
|
||||
#else
|
||||
#include "sse2neon.h"
|
||||
#endif
|
||||
#include "internal.h"
|
||||
#define FIFO_SIZE_T int
|
||||
#define FIFO_MIN 0x8000
|
||||
|
|
Loading…
Reference in New Issue