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

Hacky patch for avoiding a crash on Unix receivers #145

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

octylFractal
Copy link

This is my uninformed attempt at fixing #117. Essentially, since the error only occurs if we have 0 channels, and that doesn't make sense anyways, simply discarding the troublesome data is better than crashing.

I think there is something wrong with how the data is being sent from windows, or the way that the network code is written, but I don't have a ton of experience with Windows development.

@octylFractal
Copy link
Author

I have tested this and used the logging I added to ensure that this patch is affecting things, and it avoids crashes without corrupting the audio stream.

@octylFractal octylFractal force-pushed the bugfix/abort-crash-hacky-patch branch from e2ddd12 to 411f2ed Compare March 23, 2022 20:59
@aarav2you
Copy link

Receiver still crashes

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.

None yet

2 participants