Commit Graph

  • ee806597b9 Removed SDL_vulkan_internal.h from SDL_sysvideo.h Sam Lantinga 2023-08-25 08:18:29 -0700
  • 34860b932b Fixed testautomation --filter pixels_allocFreeFormat Sam Lantinga 2023-08-25 08:06:08 -0700
  • 6f8a6a31ca gdk: GetBasePath should be a UTF8 version of Win32 GetBasePath Ethan Lee 2023-08-25 10:47:10 -0400
  • e30e5c77e6 Sync SDL3 wiki -> header SDL Wiki Bot 2023-08-25 14:42:25 +0000
  • 24fcb61470 – gdk: Add SDL_GDKGetDefaultUser, SDL_GetPrefPath implementation Ethan Lee 2023-08-14 13:32:02 -0400
  • c0cd8c8142 gdk: Add SDL_GDKGetDefaultUser, SDL_GetPrefPath implementation Ethan Lee 2023-08-25 10:39:39 -0400
  • 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 +0100
  • e44f54ec54 Avoid using hex-floats Brick 2023-08-24 19:49:25 +0100
  • 5b696996cd Added ResampleFrame_SSE Brick 2023-08-24 19:00:17 +0100
  • 958b3cfaea Tweaked and enabled audio_convertAudio test Brick 2023-08-24 18:55:40 +0100
  • 7dbb9b65b1 audio_convertAccuracy: Shuffle the data in case of a bad SIMD implementation Brick 2023-08-24 18:55:07 +0100
  • f6a4080ff5 audio_resampleLoss: Add support for multiple channels Brick 2023-08-24 10:47:37 +0100
  • 4f894e748e audio_resampleLoss: SDL_GetAudioStreamData now returns the correct length Brick 2023-08-24 10:44:13 +0100
  • ab83f75bb9 Make sure GetAudioStreamDataInternal is called with a valid length Brick 2023-08-24 10:37:15 +0100
  • 6a73f74b6b Rebuild full ResamplerFilter (left wing + right wing) at runtime Brick 2023-08-24 00:18:52 +0100
  • 0c15ce0060 Add a missing int cast Brick 2023-08-23 19:32:53 +0100
  • 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 +0100
  • 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 +0100
  • 9f7a22fa45 Removed 64-bit handling from AudioConvertByteswap Brick 2023-08-23 16:02:16 +0100
  • 1f5327a9fb Removed future_buffer, left_padding, and right_padding from SDL_AudioStream Brick 2023-08-23 16:01:53 +0100
  • 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 +0100
  • 7bdc80b7bc Refactored GetAudioStreamDataInternal buffer handling The final conversion step should now always go straight into the output buffer. Brick 2023-08-25 12:28:21 +0100
  • ed06bbba04 Avoid using hex-floats Brick 2023-08-24 19:49:25 +0100
  • 874f6feab4 Fixed the report format for the Razer Wolverine V2 Pro Sam Lantinga 2023-08-24 11:37:50 -0700
  • 6ff48dddcb Fixed the report format for the Razer Wolverine V2 Pro Sam Lantinga 2023-08-24 11:37:50 -0700
  • 69aec8c915 Fixed the report format for the Razer Wolverine V2 Pro Sam Lantinga 2023-08-24 11:37:50 -0700
  • 6ce76697f9 Added ResampleFrame_SSE Brick 2023-08-24 19:00:17 +0100
  • 0e2de0cfcd Tweaked and enabled audio_convertAudio test Brick 2023-08-24 18:55:40 +0100
  • c7973856e7 audio_convertAccuracy: Shuffle the data in case of a bad SIMD implementation Brick 2023-08-24 18:55:07 +0100
  • 1df4dce78f Accept key events from any source Sam Lantinga 2023-08-24 10:09:02 -0700
  • 862a654b70 Accept key events from any source Sam Lantinga 2023-08-24 10:09:02 -0700
  • 7c2669c9d9 Accept key events from any source Sam Lantinga 2023-08-24 10:09:02 -0700
  • cc58a09c09 Updated to Android minSdkVersion 19 and targetSdkVersion 34 Sam Lantinga 2023-08-24 08:23:06 -0700
  • 8e27a69370 Updated to Android minSdkVersion 19 and targetSdkVersion 34 Sam Lantinga 2023-08-24 08:23:06 -0700
  • 1e9d314482 Updated to Android minSdkVersion 19 and targetSdkVersion 34 Sam Lantinga 2023-08-24 08:23:06 -0700
  • ffd45eab8f audio_resampleLoss: Add support for multiple channels Brick 2023-08-24 10:47:37 +0100
  • 77db6e1cbf audio_resampleLoss: SDL_GetAudioStreamData now returns the correct length Brick 2023-08-24 10:44:13 +0100
  • 6e3ae15017 Make sure GetAudioStreamDataInternal is called with a valid length Brick 2023-08-24 10:37:15 +0100
  • 8924d0d927 Added missing function prototype for SDL_WriteS64BE() Sam Lantinga 2023-08-23 21:19:04 -0700
  • 40fdd47627 Rebuild full ResamplerFilter (left wing + right wing) at runtime Brick 2023-08-24 00:18:52 +0100
  • 845f3c7450 Fixed mismatch between stdlib calloc() and SDL free() Sam Lantinga 2023-08-23 14:48:44 -0700
  • 9237f8edc1
    video: Fixed small memory leak when disconnecting a display. Ryan C. Gordon 2023-08-18 11:46:19 -0400
  • 1f4e86d61c
    video: Minor cleanup in SDL_VideoQuit. Ryan C. Gordon 2023-08-18 11:43:59 -0400
  • 04ff593bf5
    emscriptenaudio: Fire the capture silence_callback at an interval. Ryan C. Gordon 2023-08-23 16:12:30 -0400
  • ddbbef88e3
    emscriptenaudio: Don't bother undefining things about to be unreachable. Ryan C. Gordon 2023-08-23 16:11:08 -0400
  • ae7f54f514
    emscriptenaudio: Deal with blocked audio devices better. Ryan C. Gordon 2023-08-23 14:27:10 -0400
  • fb79211732
    emscriptenaudio: Fire the capture silence_callback at an interval. Ryan C. Gordon 2023-08-23 16:12:30 -0400
  • 5191b20541
    emscriptenaudio: Don't bother undefining things about to be unreachable. Ryan C. Gordon 2023-08-23 16:11:08 -0400
  • dea48246cf Add a missing int cast Brick 2023-08-23 19:32:53 +0100
  • fd75a4ca05
    emscriptenaudio: Deal with blocked audio devices better. Ryan C. Gordon 2023-08-23 14:27:10 -0400
  • 981b8a337a
    emscriptenaudio: Remove unnecessary functions. Ryan C. Gordon 2023-08-23 11:12:18 -0400
  • 811855209d 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 +0100
  • 34b2ce6b41 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 +0100
  • 3a7841a78b Removed 64-bit handling from AudioConvertByteswap Brick 2023-08-23 16:02:16 +0100
  • 8471688547 Removed future_buffer, left_padding, and right_padding from SDL_AudioStream Brick 2023-08-23 16:01:53 +0100
  • 0cc9236ac9 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 +0100
  • c7588e4261
    Transparent window for Win32 + OpenGL (#8143) Sam Huang 2023-08-23 07:42:59 -0700
  • 095222fe8b Explicitly initialize all members to -1 Sam Huang 2023-08-23 06:40:01 -0700
  • e923212a85 Transparent window for Win32 + OpenGL via DWM Sam Huang 2023-08-22 09:40:16 -0700
  • 08268d8ecb
    audioworklet: First shot at Emscripten AudioWorklet support. Ryan C. Gordon 2023-08-22 10:54:42 -0400
  • f9581178de
    cmake: fixed a typo. Ryan C. Gordon 2023-08-22 10:51:41 -0400
  • e6c878824c Fixed ResampleAudio interpolation factor calculation Brick 2023-08-22 11:26:39 +0100
  • db6cbfc966 Rename SDL_threadID to SDL_ThreadID David Demelier 2023-08-22 13:38:42 +0200
  • 251a08dae1 Rename SDL_ThreadID to SDL_GetCurrentThreadId() David Demelier 2023-08-22 13:38:37 +0200
  • e38ec28996 Fixed ResampleAudio interpolation factor calculation Brick 2023-08-22 11:26:39 +0100
  • 4983638630 Misc audio tweaks/cleanup Brick 2023-08-21 20:45:52 +0100
  • 72d9d53def Invert the inner ResampleAudio loops to avoid doing unnecessary work Brick 2023-08-21 13:23:38 +0100
  • 88123a5109 The history buffer should always have the maximum possible padding frames Brick 2023-08-21 10:14:59 +0100
  • 96e47f1657 Clamp results of GetResampler(AvailableOutput|NeededInput)Frames Brick 2023-08-20 23:03:32 +0100
  • d2b9c8b80d Fixed maths in testaudiostreamdynamicresample (and just show the actual scale) Brick 2023-08-20 22:50:41 +0100
  • 14e38b17d6 Removed assertions from inner ResampleAudio loop Brick 2023-08-20 20:43:31 +0100
  • 9d413dfdc2 The history buffer doesn't need to be so large Brick 2023-08-20 19:56:15 +0100
  • 2788e848f8 Allow resampling less than 1 frame of input Brick 2023-08-20 19:50:54 +0100
  • 383084e0ad Pre-calculate resampling rate, and use it instead of .freq in most places Brick 2023-08-20 19:12:04 +0100
  • 40a6a445ce Update resample_offset inside ResampleAudio Brick 2023-08-20 16:15:03 +0100
  • 47fea7f06b Used fixed-point arithmetic in ResampleAudio Brick 2023-08-20 16:08:19 +0100
  • 7bb4e806ea Clear resample_offset in SDL_ClearAudioStream, not SetAudioStreamFormat Not entirely sure if ClearAudioStream is the right place, but SetAudioStreamFormat was the wrong place Brick 2023-08-20 12:17:46 +0100
  • b9541b9eab Improved ResampleAudio * filterindex2 was off-by-one * Generate ResamplerFilter using doubles * Transpose ResamplerFilter to improve access patterns Brick 2023-08-19 20:12:40 +0100
  • cdaa19869d Track offset within the current sample when resampling Brick 2023-08-19 15:55:23 +0100
  • 9f6f12bf52 Misc audio tweaks/cleanup Brick 2023-08-21 20:45:52 +0100
  • 9f81cd8278 Invert the inner ResampleAudio loops to avoid doing unnecessary work Brick 2023-08-21 13:23:38 +0100
  • 387aba9441 The history buffer should always have the maximum possible padding frames Brick 2023-08-21 10:14:59 +0100
  • 04657ef2db Clamp results of GetResampler(AvailableOutput|NeededInput)Frames Brick 2023-08-20 23:03:32 +0100
  • 76b72d44cc Fixed maths in testaudiostreamdynamicresample (and just show the actual scale) Brick 2023-08-20 22:50:41 +0100
  • 3b54365931 Removed assertions from inner ResampleAudio loop Brick 2023-08-20 20:43:31 +0100
  • df4cedede0 The history buffer doesn't need to be so large Brick 2023-08-20 19:56:15 +0100
  • 25b26517e2 Allow resampling less than 1 frame of input Brick 2023-08-20 19:50:54 +0100
  • 146ba772f8 Pre-calculate resampling rate, and use it instead of .freq in most places Brick 2023-08-20 19:12:04 +0100
  • 26593c0021 Update resample_offset inside ResampleAudio Brick 2023-08-20 16:15:03 +0100
  • 50cafa4109 Used fixed-point arithmetic in ResampleAudio Brick 2023-08-20 16:08:19 +0100
  • c64fed7e1d Clear resample_offset in SDL_ClearAudioStream, not SetAudioStreamFormat Not entirely sure if ClearAudioStream is the right place, but SetAudioStreamFormat was the wrong place Brick 2023-08-20 12:17:46 +0100
  • 7058645455 Improved ResampleAudio * filterindex2 was off-by-one * Generate ResamplerFilter using doubles * Transpose ResamplerFilter to improve access patterns Brick 2023-08-19 20:12:40 +0100
  • a3cc4eb7fc Track offset within the current sample when resampling Brick 2023-08-19 15:55:23 +0100
  • d03e099871 Fix x11 taskbar icon/title George Broughton 2023-08-19 00:29:49 +0200
  • d60ebb06d1 mouse: Ensure that the dummy default cursor is removed from the cursor list Frank Praznik 2023-08-16 13:46:14 -0400
  • e58c2731fe mouse: Free the default cursor when destroyed Frank Praznik 2023-08-16 12:32:58 -0400
  • 789ce17e11
    audio: Don't resample in chunks for now. Ryan C. Gordon 2023-08-16 10:26:08 -0400
  • cbab33482a
    audio: Don't call SDL_AudioStream callbacks for empty data sets. Ryan C. Gordon 2023-08-14 18:16:58 -0400
  • 3e1ae0c867 Clearified the libusb whitelist default logic Sam Lantinga 2023-08-14 12:19:37 -0700
  • f4520821ef Removed some unnecessary integer casts Brick 2023-08-14 17:28:44 +0100