Sam Lantinga
Sam Lantinga
How do you disable subsystems in the new CMake build system? I tried to disable MFI joystick support using the following, and it didn't work: `cmake .. -DSDL_JOYSTICK_MFI=OFF -DCMAKE_BUILD_TYPE=Debug`
This is unsafe because the event is auto-reset, therefore the call to WaitForSingleObject() resets the event which GetOverlappedResult() will try to wait on. Even though the overlapped operation is guaranteed...
The get_usb_string call is rather expensive on some USB devices, so we cache the vendor/product strings for future lookups (e.g. when hid_enumerate is invoked again later). This way, we only...
When decoding https://github.com/py-sdl/py-sdl2/blob/master/sdl2/test/resources/soundtest.mp3, the correct length is 0.1502 seconds, but when using dr_mp3, the reported length is 0.209 seconds. This can cause silence to be played incorrectly, which is especially...
I'd like to add support for saving images as AVIF. Could you rebuild libavif with encoder support?
SDL currently uses 8-bit linear RGB for surfaces, but the JXL decoder outputs sRGB. We need to convert the pixels to linear RGB before returning the surface.
e.g. https://github.com/libsdl-org/SDL_image/issues/256