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

fix: dyld missing symbol called on arm arch #150

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

JacobLinCool
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

This PR addresses the dyld: missing symbol called fatal error on Apple Silicon by adding the required file for NEON compilation.

The related issue, reported in #142, previously necessitated a workaround involving the use of x64 Node.js with Rosetta, resulting in degraded performance. This PR enables native support for the arm64 architecture in this library.

Additionally, I have added a test in tests/test.js, which evaluates the Opus decoder's functionality.


Before this PR is merged, users can use the source from this PR directly by modifying their package.json:

"dependencies": {
    "@discordjs/opus": "git+https://github.com/JacobLinCool/opus.git#main"
}

Semantic versioning classification:

  • This PR changes the library's interface (methods or parameters added)
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@iCrawl iCrawl merged commit a84da82 into discordjs:main Mar 9, 2024
58 of 92 checks passed
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

Successfully merging this pull request may close these issues.

2 participants