soxr
soxr copied to clipboard
how to build for Mac use least code form source forge?
hello ,this code may be just for resample ,but the least have the audio effect . so how to build it ?
https://github.com/chirlu/soxr/blob/master/INSTALL shows you basic commands. The default ./go
intent to work well on latest macos. If you want to customize some options, https://github.com/chirlu/soxr/blob/945b592b70470e29f917f4de89b4281fbbd540c0/INSTALL#L70 shows you that you can call cmake
directly. If you're working on latest macos with M1, you may need to add -DWITH_CR32S=OFF
in your command to avoid error due to arm/neon rather than avx.
The full command will looks like
mkdir -p build && cd build && cmake .. -Wno-dev -DCMAKE_BUILD_TYPE=Release -DWITH_CR32S=OFF