cde67ea49a
Detect Logitech PRO Racing Wheel for Xbox (PC mode) as wheel Logitech PRO Racing Wheel have two different versions - for Playstation and Xbox. Vendor + Product ID for Playstation version already present in SDL sources, but not an Xbox version
Oleg
2023-09-04 20:46:09 +03:00
3a932141e4
Restore audio format binary compatibility with SDL 2.0
Sam Lantinga
2023-09-04 10:16:33 -07:00
43c3c5736d
Track the formats of data in an SDL_AudioStream
Brick
2023-08-31 13:29:35 +01:00
337fed3df6
Tweaked ResampleFrame_SSE Use _mm_unpack(lo|hi)_ps instead of _mm_shuffle_ps
Brick
2023-08-28 22:21:08 +01:00
fd7cd91dc9
audio: Mix multiple streams in float32 to prevent clipping.
Ryan C. Gordon
2023-08-31 23:38:24 -04:00
9097573e37
audio: Choose a mixing strategy on each iteration.
Ryan C. Gordon
2023-08-31 13:56:37 -04:00
bbe2e012a2
Don't provide the SDL3 header path
Sam Lantinga
2023-08-31 11:41:37 -07:00
c17a35f096
Fixed typo
Sam Lantinga
2023-08-31 09:32:39 -07:00
4f72255eb1
Fixed README.md link
Sam Lantinga
2023-08-31 09:31:56 -07:00
e0ab597549
Simplified SDL_main.h migration notes
Sam Lantinga
2023-08-31 09:29:59 -07:00
d44bde61e5
Added SDL migration information to the top level README.md
Sam Lantinga
2023-08-31 09:28:54 -07:00
6ff31e10cf
metal: Add hint to select low power device instead of the default one (#8182)
Jeremy Demeule
2023-08-31 10:23:45 +02:00
8a8aed477d
Make sure that we process touch events that position the mouse
Sam Lantinga
2023-08-30 21:31:19 -07:00
f84c87f204
Sync SDL3 wiki -> header
SDL Wiki Bot
2023-08-31 03:26:13 +00:00
a7eea9997d
macOS: Don't raise the parent top-level window when raising a child window, only raise the child window to the top of the parent
Sam Lantinga
2023-08-30 20:29:57 -07:00
a5e7214795
Add SDL_WINDOW_NOT_FOCUSABLE flag to set that the window should not be able to gain key focus
Sam Lantinga
2023-08-30 20:29:51 -07:00
b385dc3b68
n3dsaudio: Patched to compile.
Ryan C. Gordon
2023-08-30 19:53:54 -04:00
4e0c7c91fc
audio: PlayDevice() should return an error code.
Ryan C. Gordon
2023-08-30 19:16:39 -04:00
363f4fa9c1
avoid type redefinition errors after commit ee806597b9.
Ozkan Sezer
2023-08-27 22:22:10 +03:00
615824a806
Updated documentation now that SDL_GetAudioDevices() has been split into separate functions for output and capture devices
Sam Lantinga
2023-08-26 17:30:57 -07:00
506a133d84
Clarify whether an audio function expects a physical or logical device ID
Sam Lantinga
2023-08-26 17:03:01 -07:00
3b1d1e4e31
hidapi: sync the hidraw changes with mainstream
Ozkan Sezer
2023-08-26 11:40:32 +03:00
f617918e0a
cmake: check linkage to libusb too, instead of libusb.h presence only.
Ozkan Sezer
2023-08-26 15:55:50 +03:00
041dbd6b5f
Fixed GetResamplerAvailableOutputFrames Non-euclidean division is a pain
Brick
2023-08-26 10:00:58 +01:00
b49d0a607e
x11: Avoid including full Vulkan headers.
Ryan C. Gordon
2023-08-25 19:45:45 -04:00
4d2f9f3a32
yuv_rgb: Comment out unused code.
Ryan C. Gordon
2023-08-25 19:42:46 -04:00
3c3486e2ac
wayland: Don't include full Vulkan headers when not necessary.
Ryan C. Gordon
2023-08-25 19:42:08 -04:00
f066bbe98a
x11: Don't include system headers twice.
Ryan C. Gordon
2023-08-25 19:41:18 -04:00
106abce69f
Refactored GetAudioStreamDataInternal buffer handling The final conversion step should now always go straight into the output buffer.
Brick
2023-08-25 12:28:21 +01:00
e44f54ec54
Avoid using hex-floats
Brick
2023-08-24 19:49:25 +01:00
958b3cfaea
Tweaked and enabled audio_convertAudio test
Brick
2023-08-24 18:55:40 +01:00
7dbb9b65b1
audio_convertAccuracy: Shuffle the data in case of a bad SIMD implementation
Brick
2023-08-24 18:55:07 +01:00
f6a4080ff5
audio_resampleLoss: Add support for multiple channels
Brick
2023-08-24 10:47:37 +01:00
4f894e748e
audio_resampleLoss: SDL_GetAudioStreamData now returns the correct length
Brick
2023-08-24 10:44:13 +01:00
ab83f75bb9
Make sure GetAudioStreamDataInternal is called with a valid length
Brick
2023-08-24 10:37:15 +01:00
6a73f74b6b
Rebuild full ResamplerFilter (left wing + right wing) at runtime
Brick
2023-08-24 00:18:52 +01:00
0c15ce0060
Add a missing int cast
Brick
2023-08-23 19:32:53 +01:00
b74ee86b1d
Optimized ResampleAudio, with special cases for 1 and 2 channels This would also benefit from some SIMD, since it's just a bunch of multiply-adds
Brick
2023-08-23 18:31:15 +01:00
fba6e1e3d3
Removed ResamplerFilterDifference It takes 1 extra multiply to calculate the correct interpolation, but I think the improvement in cache locality (and binary size) outweighs that.
Brick
2023-08-23 19:09:03 +01:00
9f7a22fa45
Removed 64-bit handling from AudioConvertByteswap
Brick
2023-08-23 16:02:16 +01:00
1f5327a9fb
Removed future_buffer, left_padding, and right_padding from SDL_AudioStream
Brick
2023-08-23 16:01:53 +01:00
71ad52d6db
Lowered SDL_GetAudioStreamData to 32 KB No particular reason for this number, but 1 MB was a bit silly
Brick
2023-08-23 15:22:01 +01:00
69aec8c915
Fixed the report format for the Razer Wolverine V2 Pro
Sam Lantinga
2023-08-24 11:37:50 -07:00
7c2669c9d9
Accept key events from any source
Sam Lantinga
2023-08-24 10:09:02 -07:00
1e9d314482
Updated to Android minSdkVersion 19 and targetSdkVersion 34
Sam Lantinga
2023-08-24 08:23:06 -07:00
8924d0d927
Added missing function prototype for SDL_WriteS64BE()
Sam Lantinga
2023-08-23 21:19:04 -07:00
845f3c7450
Fixed mismatch between stdlib calloc() and SDL free()
Sam Lantinga
2023-08-23 14:48:44 -07:00
fb79211732
emscriptenaudio: Fire the capture silence_callback at an interval.
Ryan C. Gordon
2023-08-23 16:12:30 -04:00
5191b20541
emscriptenaudio: Don't bother undefining things about to be unreachable.
Ryan C. Gordon
2023-08-23 16:11:08 -04:00
fd75a4ca05
emscriptenaudio: Deal with blocked audio devices better.
Ryan C. Gordon
2023-08-23 14:27:10 -04:00
981b8a337a
emscriptenaudio: Remove unnecessary functions.
Ryan C. Gordon
2023-08-23 11:12:18 -04:00
c7588e4261
Transparent window for Win32 + OpenGL (#8143)
Sam Huang
2023-08-23 07:42:59 -07:00
f9581178de
cmake: fixed a typo.
Ryan C. Gordon
2023-08-22 10:51:41 -04:00