Ryan C. Gordon

Results 1352 comments of Ryan C. Gordon

(I'll leave this in the milestone for now though, just in case there's a moment to get to it.)

I'm going to close this without WinTab support. We're not against it, but we won't have time to add it ourselves, but we will accept a PR that implements it!

"No available video device" either means SDL was built without a useful video backend, or for some reason it can't find libraries it needs at runtime (like it tried to...

A silly question from me: can we not just add the assume keywords to SDL_assert itself? Clang's static analyzer already uses SDL_assert as an assumption that the asserted case must...

(Err...and add some preprocessor magic to keep the assumptions when assertions are disabled, to be clear.)

You can keep going, I haven't looked at this in a year, and just want to make sure I pay attention to it soon. :)

> Are there any solutions for this problem? This sounds like a bug in SDL; I'll try to reproduce it here tomorrow morning.

This reproduces for me with testaudiohotplug on both SDL2 and SDL3 (just unplug USB headphones and plug them back in while the test program is running). Digging deeper.

Looks like (in SDL3, at least) `device->currently_opened` is zero when DeviceAliveNotification is fired...so when we tell SDL that the device is disconnected, it doesn't try to close it, so all...

Wait, no, that was the recording half of the USB headset. But I'm also noticing the testaudiohotplug doesn't close the device at all, so I bet that's what's happening.