Skip to content

improve: make audio sending in C - #5

Open
ThePedroo wants to merge 9 commits into
mainfrom
improve/native-sending
Open

improve: make audio sending in C#5
ThePedroo wants to merge 9 commits into
mainfrom
improve/native-sending

Conversation

@ThePedroo

Copy link
Copy Markdown
Member

Changes

This commit moves the code for audio sending to C99.

Why

This improves speed, stability, and resource usage, so why not?

Checkmarks

  • The modified functions have been tested.
  • Used the same indentation as the rest of the project.
  • Updated documentation (changelog).
  • Is a documented feature by Discord.

This commit moves the code for audio sending to C99. This improves numerous areas as it bypasses GC stops from JS execution. Moreover, highers precision of the loop, and reduces resource usage.
@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown

All Contributors have signed the CLA. The PR is now allowed to be merged.
Posted by the CLA Assistant Lite bot.

@ThePedroo

Copy link
Copy Markdown
Member Author

I have read the CLA Document and I hereby sign the CLA

performanc-bot added a commit to PerformanC/CLA-Signatures that referenced this pull request Jul 17, 2026
This commit removes the "Makefile" file that was unused.
This commit removes "#include" that were not necessary to compile the project, and organizes "#include" to follow the standard.
This commit fixes some warnings while compiling/from LSP from IDE.
This commit adds "-Wpedantic" to the "binding.gyp" to allow more warnings to appear and hence make the code more resistent to bugs.
This commit removes from "package.json" the tests that were left from testing.
This commit improves compatibility with Windows by using libuv to send messages through UDP connection instead of using "fd" directly, as it represents a pseudo FILE in Windows, and connection is managed by libuv.
This commit adds the missing CThreads implementation file to repository and includes to be built with the project.
This commit adds a forward declaration for "destroy_loop_fields" so that "try_final_cleanup" can use it without compilation errors.
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.

1 participant