Skip to content

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants