scream
scream copied to clipboard
Hacky patch for avoiding a crash on Unix receivers
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.
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.
Receiver still crashes