Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build for Mac use least code form source forge? #6

Open
xuandu opened this issue Sep 1, 2022 · 1 comment
Open

how to build for Mac use least code form source forge? #6

xuandu opened this issue Sep 1, 2022 · 1 comment

Comments

@xuandu
Copy link

xuandu commented Sep 1, 2022

hello ,this code may be just for resample ,but the least have the audio effect .
so how to build it ?

@wangyoucao577
Copy link

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,

soxr/INSTALL

Line 70 in 945b592

cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release [OPTIONS] ..
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants