cog/Audio/ThirdParty/libsoxr
Christopher Snowhill 1dffaae990 Tweak libsoxr for Apple Silicon again
This should improve performance slightly again, as there were some ARM
code paths that weren't being enabled for ARM64.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-26 20:51:30 -08:00
..
include Adopt the sox resampler instead of RetroArch 2022-02-01 18:55:39 -08:00
lib Tweak libsoxr for Apple Silicon again 2022-02-26 20:51:30 -08:00
README.md Improve libsoxr setup 2022-02-26 01:07:20 -08:00

README.md

These were compiled with default settings from:

https://github.com/kode54/libsoxr

Original upstream it was forked from:

https://github.com/nanake/libsoxr

Using CMake:

mkdir build-x86
mkdir build-arm
cd build-x86
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12" -DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF
make -j8
cd ../build-arm
cmake .. -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" -DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF
make -j8
cd ..
lipo -create -output libsoxr.a build-x86/src/libsoxr.a build-arm/src/libsoxr.a