This reverts commit b70a024a08.
Okay fine PulseAudio. I pulled in SDL 1.x for a reason, and here it is.
The audio thread handling needs to be fixed, just as the Windows builds
need to fix the SDL 1.x issue with relative mouse motion. This is why.
Time to start hacking. If it makes it incompatible with the main SDL 1.x
library at this point I don't care, it's time to fix this nonsense.
This reverts commit 1f932a602c.
The change does absolutely nothing, at all. PulseAudio likes to hang on
audio closure, randomly stop playing audio, or just assert() because
something about no event pending at some critical point.
PulseAudio lovers will probably tell me I'm not using the API properly,
which isn't the point. If talking to the API is so delicate that not
even the SDL 1.x devs can handle it properly (and they handle a lot of
strange cases in their code), then your API sucks.
This was written by the same guy who wrote SystemD??? Yikes.