Commit Graph

  • 0471a93706 alsa: Simplified PlayDevice and CaptureFromDevice. Ryan C. Gordon 2023-09-30 12:23:28 -04:00
  • 776d9d0ee3 alsa: Convert /* */ comments to // comments. Ryan C. Gordon 2023-09-30 12:02:51 -04:00
  • 64fee85c69 alsa: More efficient audio thread iteration. Ryan C. Gordon 2023-09-30 11:50:53 -04:00
  • f9dc49c21c Fix automated tests using the dummy video driver Frank Praznik 2023-09-29 12:55:09 -04:00
  • 8c3fd5aec2 snd_pcm_plugin_flush was removed in QNX 7.1 and later Anonymous Maarten 2023-09-30 16:33:56 +02:00
  • 24d145f4b6 cmake: add qnx support Anonymous Maarten 2023-09-29 18:53:47 +02:00
  • 145ad48c0e Allow the use of posix_spawn() instead of vfork/execlp() Anonymous Maarten 2023-09-29 19:09:09 +02:00
  • 71b7790be8 snd_pcm_plugin_flush was removed in QNX 7.1 and later Anonymous Maarten 2023-09-30 16:33:56 +02:00
  • 933ec9e978 cmake: add qnx support Anonymous Maarten 2023-09-29 18:53:47 +02:00
  • a263cc2369 Allow the use of posix_spawn() instead of vfork/execlp() Anonymous Maarten 2023-09-29 19:09:09 +02:00
  • 47cba08259 VisualC/pkg-support/cmake: remove subdir from public header include path Ozkan Sezer 2023-09-30 14:33:02 +03:00
  • 61e9a9dd56 pulseaudio: Just feed the device whenever it asks for any amount of data. Ryan C. Gordon 2023-09-29 22:34:11 -04:00
  • 4f76f9b0a7 pulseaudio: Use correct buffer size of stream, wait less between fills. Ryan C. Gordon 2023-09-29 22:13:20 -04:00
  • fd495bb57c SDLTest_CompareSurfaces: Decode pixels correctly on big-endian platforms Simon McVittie 2023-09-29 14:23:36 +01:00
  • 6b5eadb10f SDLTest_CompareSurfaces: Decode pixels correctly on big-endian platforms Simon McVittie 2023-09-29 14:23:36 +01:00
  • d95d2d7051 SDLTest_CompareSurfaces: Decode pixels correctly on big-endian platforms Simon McVittie 2023-09-29 14:23:36 +01:00
  • d65861f049 Do a better job of finding default ALSA devices Sam Lantinga 2023-09-28 21:25:11 -07:00
  • ba65ef5ce7 Recover from -EPIPE in snd_pcm_avail() Sam Lantinga 2023-09-28 20:16:59 -07:00
  • 5be5000fa1 cmake: make HEADERS_DIR a required argument of SDL_generate_manpages Anonymous Maarten 2023-09-29 03:42:33 +02:00
  • 5c1a91a4e1 ci: make sure perl is installed + build docs with MSVC toolchain Anonymous Maarten 2023-09-28 23:32:35 +02:00
  • 6248472c0c test: Accept small numerical differences in more mathematical tests Simon McVittie 2023-09-28 16:29:15 +01:00
  • a2c5dc6507 pulseaudio: Added typedef needed for compat with ancient Pulse installs. Ryan C. Gordon 2023-09-28 12:10:16 -04:00
  • f24551f6d1 pulseaudio: More workarounds for extremely old Pulse installs. Ryan C. Gordon 2023-09-28 11:53:00 -04:00
  • 441a5b707b audio: Adjusted const/static fields on some variables. Ryan C. Gordon 2023-09-28 10:24:42 -04:00
  • 280c2c1d7d pulseaudio: Revert "pulseaudio: Require PulseAudio 5.0 or later for SDL3." Ryan C. Gordon 2023-09-28 10:15:53 -04:00
  • 4db2b968af audio: simple-copy path should check if device is paused. Ryan C. Gordon 2023-09-27 16:24:33 -04:00
  • 505dc4c39c wasapi: Deal with device failures when we aren't holding the device lock. Ryan C. Gordon 2023-09-27 11:33:51 -04:00
  • ea5f59c234 Removed unused code Sam Lantinga 2023-09-27 09:16:25 -07:00
  • a6854098f7 Fixed stuttering on Android when using the AAudio driver Sam Lantinga 2023-09-27 09:08:08 -07:00
  • a5175e5ed0 audio: Fixed bug when setting up mixing formats. Ryan C. Gordon 2023-09-27 11:48:46 -04:00
  • 9667aa18e6 wayland: Check that the data device supports the release method before calling it Frank Praznik 2023-09-26 11:22:01 -04:00
  • 4454dc400b wayland: Null all Wayland manager objects after freeing Frank Praznik 2023-09-26 11:18:52 -04:00
  • e1789b320e video: Streamline a little deinit code. Ryan C. Gordon 2023-09-25 16:26:14 -04:00
  • 2a1058713c Bump libdecor feature check to look for 0.2.0 Frank Praznik 2023-09-25 12:02:06 -04:00
  • f5886f11d0 cmake: let every test depends on pretest Anonymous Maarten 2023-09-24 21:35:41 +02:00
  • f45761908a Move check for SDL_Delay upper bounds to testtimer Anonymous Maarten 2023-08-29 00:03:05 +02:00
  • a84389f6bb libm: use union for infinity Anonymous Maarten 2023-08-27 23:52:47 +02:00
  • 474c8d0073 testautomation: don't do float equality tests Anonymous Maarten 2023-08-27 23:42:23 +02:00
  • a6bc6b882c ci: always upload the artifacts Anonymous Maarten 2023-08-27 16:25:55 +02:00
  • 85e3099ba4 testautomation: only require accelated renderer with non-dummy video driver Anonymous Maarten 2023-08-27 03:04:23 +02:00
  • 26fd231151 ci: run tests on msvc workflow Anonymous Maarten 2023-03-14 19:51:52 +01:00
  • 0e955a9127 cmake: run testautomation with CTest Anonymous Maarten 2023-03-14 12:04:49 +01:00
  • d58fa94ee9 SDL_iconv_string() defaults to UTF-8 Sam Lantinga 2023-09-24 17:27:23 -07:00
  • 9772d0512c SDL_iconv_string() defaults to UTF-8 Sam Lantinga 2023-09-24 17:27:23 -07:00
  • 1375d2049d SDL_iconv_string() defaults to UTF-8 Sam Lantinga 2023-09-24 17:27:23 -07:00
  • d691010686 Check for NULL before dereferencing newly allocated memory Sam Lantinga 2023-09-24 17:17:49 -07:00
  • 27f2df2292 Check for NULL before dereferencing newly allocated memory Sam Lantinga 2023-09-24 17:17:49 -07:00
  • 70a1bc6973 Check for NULL before dereferencing newly allocated memory Sam Lantinga 2023-09-24 17:17:49 -07:00
  • 752f14e5a6 wayland: Convert some memcpy calls to copyp Frank Praznik 2023-09-24 11:31:14 -04:00
  • 9284a03053 wayland: Remove some unnecessary helper functions Frank Praznik 2023-09-23 12:51:24 -04:00
  • 399bc709b7 build-scripts.pl: Added add-source-to-projects.pl Ryan C. Gordon 2023-09-22 22:38:31 -04:00
  • ac68271871 Visual-WinRT: dos2unix the project files to match other Visual Studio targets. Ryan C. Gordon 2023-09-22 12:26:14 -04:00
  • 34719cba96 Fixed crash in hid_init() if the HIDDeviceManager isn't available Sam Lantinga 2023-09-22 10:14:16 -07:00
  • 2e92e94ebb Make sure we update device->sample_frames in SDL_AudioDeviceFormatChangedAlreadyLocked() Sam Lantinga 2023-09-21 11:31:47 -07:00
  • 9964e5c5b0 wayland: Don't retrieve the drag offer strings with every pointer motion event Frank Praznik 2023-09-21 14:05:16 -04:00
  • 834e8898b9 SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined. Ozkan Sezer 2023-05-31 01:55:40 +03:00
  • bac7eeaaae Added missing include Sam Lantinga 2023-09-20 14:13:50 -07:00
  • a541e2ac10 audio: Change a few SDL_memcpy calls to SDL_copyp. Ryan C. Gordon 2023-09-20 17:02:28 -04:00
  • 54125c1408 audio: Only update bound audiostreams' formats when necessary. Ryan C. Gordon 2023-09-20 17:01:08 -04:00
  • e0b0f9a36e testaudio: Fix mouseover testing. Ryan C. Gordon 2023-09-20 16:57:37 -04:00
  • 2f3deec245 wayland: Don't process drag & drop events from surfaces not owned by SDL Frank Praznik 2023-09-20 14:42:10 -04:00
  • 42bdced05d events: Log file drop position events and print the pointer coordinates Frank Praznik 2023-09-20 13:41:36 -04:00
  • c10d93d3a0 wayland: Replace magic constant with define Frank Praznik 2023-09-20 12:37:46 -04:00
  • b93a8a86ab emscripten: Restore compatibility with existing emsdk releases. Ryan C. Gordon 2023-09-20 14:32:41 -04:00
  • 536f625bde Use EM_ASM_PTR when the return value is a pointer Jaswant Panchumarti 2023-09-19 10:45:50 -04:00
  • 60070d0b3d emscripten: Restore compatibility with existing emsdk releases. Ryan C. Gordon 2023-09-20 14:32:41 -04:00
  • 330d420afc Use EM_ASM_PTR when the return value is a pointer Jaswant Panchumarti 2023-09-19 10:45:50 -04:00
  • 5008521538 emscripten: Restore compatibility with existing emsdk releases. Ryan C. Gordon 2023-09-20 14:32:41 -04:00
  • 953b55dd6d Use EM_ASM_PTR when the return value is a pointer Jaswant Panchumarti 2023-09-19 10:45:50 -04:00
  • a4541a255e audio: SDL_GetAudioStreamQueued now returns bytes, not frames. Ryan C. Gordon 2023-09-20 14:15:19 -04:00
  • 703aefbce0 Sync SDL3 wiki -> header Ryan C. Gordon 2023-09-20 14:08:32 -04:00
  • 99421b64d0 linux: Add portal drag and drop Colin Kinloch 2023-09-20 16:13:31 +01:00
  • 952c5059b5 Remove stray  Michael Bradshaw 2023-09-20 09:27:57 -06:00
  • eebd5d18a2 linux: Handle upower's UP_DEVICE_STATE_PENDING_CHARGE, PENDING_DISCHARGE Simon McVittie 2023-09-20 15:16:16 +01:00
  • 2fcbf321fa wayland: Fix drag offer leak Frank Praznik 2023-09-09 18:37:49 -04:00
  • a683ce4153 linux: Add portal drag and drop Colin Kinloch 2023-09-16 19:08:16 +01:00
  • f8fdb20d8f audio: Destroy all existing SDL_AudioStreams on shutdown. Ryan C. Gordon 2023-09-20 10:47:11 -04:00
  • 62d4459972 audio: Removed declarations of functions that don't exist anymore. Ryan C. Gordon 2023-09-20 10:20:35 -04:00
  • b656720bc6 loopwave: Use SDL_GetAudioStreamQueued() for more accurate results. Ryan C. Gordon 2023-09-19 14:35:37 -04:00
  • 34b931f7eb audio: Added SDL_GetAudioStreamQueued Ryan C. Gordon 2023-09-19 12:37:21 -04:00
  • 23206b9e3f audio: Added SDL_EVENT_AUDIO_DEVICE_FORMAT_CHANGED Ryan C. Gordon 2023-09-19 17:54:44 -04:00
  • c7e6d7a1f7 audio: Changed debug logging output. Ryan C. Gordon 2023-09-20 10:04:23 -04:00
  • 87ec6acf2d audio: Added a FIXME Ryan C. Gordon 2023-09-20 10:04:19 -04:00
  • ac88ffb7ea audio: don't allocate buffer in SDL_SetAudioPostmixCallback for NULL callback. Ryan C. Gordon 2023-09-20 10:03:02 -04:00
  • 2a950f6ae6 audio: Replace some SDL_memcpy calls with SDL_copyp. Ryan C. Gordon 2023-09-20 10:01:52 -04:00
  • 0dc0434a3e audio: Fixed race condition in subsystem shutdown. Ryan C. Gordon 2023-09-20 10:00:44 -04:00
  • 23f60203a3 audio: precalculate if we can use simple copies instead of the full mixer. Ryan C. Gordon 2023-09-20 09:58:27 -04:00
  • 36b0f11414 audio: Optimize setting device formats during audio thread iteration. Ryan C. Gordon 2023-09-20 09:09:15 -04:00
  • 1e18dc594e update config.guess and config.sub from mainstream Ozkan Sezer 2023-09-20 14:50:56 +03:00
  • 95a6f986a0 update config.guess and config.sub from mainstream Ozkan Sezer 2023-09-20 14:50:56 +03:00
  • 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp Anonymous Maarten 2023-09-04 21:10:30 +02:00
  • 2a01f9dcb5 tests: plug leaks when running with --trackmem Anonymous Maarten 2023-08-22 18:44:28 +02:00
  • f42bbeca24 SDL_test: track stack frames of allocations on Windows Anonymous Maarten 2023-09-01 23:19:46 +02:00
  • 12c0be028e SDL_test: clear text cache on exit event Anonymous Maarten 2023-09-02 22:05:57 +02:00
  • b4bfb18318 SDL_test: free state before logging allocations Anonymous Maarten 2023-08-22 18:42:56 +02:00
  • 248b1edd3f SDL_test: destroy windows in SDL_CommonQuit Anonymous Maarten 2023-08-26 19:34:14 +02:00
  • 98da2dd303 SDL_test: don't warn about expected allocations when running with --trackmem Anonymous Maarten 2023-08-25 23:59:42 +02:00
  • 6a381567b0 Support audio rate conversion up to 384KHz Sam Lantinga 2023-09-18 22:21:54 -07:00
  • b2b548a1fc Don't hang if IAudioRenderClient_GetBuffer() fails indefinitely Sam Lantinga 2023-09-18 20:55:28 -07:00
  • a3a5e17282 Fixed build warning '=': conversion from 'Uint32' to 'Uint16', possible loss of data Sam Lantinga 2023-09-18 13:56:32 -07:00