SDL/include/SDL3
Ryan C. Gordon f2ae6503c0
audio: Binding an SDL_AudioStream will set missing formats.
It _must_ have the format set for the opposite side from the device (so
playback needs the src format set, and recording needs the dst format set),
since the stream gets mangled by the device thread if not. So if it has never
been set (stream created with NULL audiospec), just set it to match the device.
If the stream is just meant to buffer and not convert, this is desired
behavior, even if it didn't also fix a bug.

Binding the audio stream will always set the device side's format, as usual;
this does not need to be set by the caller at all.

Fixes #13363.
2025-07-15 06:40:09 -04:00
..
SDL.h Updated to version 3.3.0 for development 2025-03-01 19:31:00 -08:00
SDL_assert.h Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
SDL_asyncio.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_atomic.h Sync SDL3 wiki -> header 2025-01-28 19:01:16 +00:00
SDL_audio.h audio: Binding an SDL_AudioStream will set missing formats. 2025-07-15 06:40:09 -04:00
SDL_begin_code.h fix preprocessor directive for SDL_RESTRICT definition in C99 case. 2025-05-30 23:56:50 +03:00
SDL_bits.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_blendmode.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_camera.h Rename parameter of type SDL_CameraID from devid to instance_id 2025-01-29 17:49:53 -08:00
SDL_clipboard.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_close_code.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_copying.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_cpuinfo.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_dialog.h Sync SDL3 wiki -> header 2025-03-01 16:26:19 +00:00
SDL_egl.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_endian.h docs: Documentation for SDL_Swap64 was reporting the wrong return type. 2025-07-02 09:29:40 -04:00
SDL_error.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_events.h expose events originating from a live-resize set the data1 field to 1. 2025-06-21 07:33:25 -07:00
SDL_filesystem.h Sync SDL3 wiki -> header 2025-06-03 15:31:53 +00:00
SDL_gamepad.h Sync SDL3 wiki -> header 2025-04-27 18:02:41 +00:00
SDL_gpu.h include/SDL_gpu: fix bool members documentation indentation 2025-05-30 16:34:34 +02:00
SDL_guid.h Note that SDL_GUIDToString() and SDL_StringToGUID() are thread-safe. 2025-02-06 10:44:21 -08:00
SDL_haptic.h Add and use SDL_HapticEffectID typedef 2025-04-24 08:51:55 -07:00
SDL_hidapi.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_hints.h Sync SDL3 wiki -> header 2025-07-14 23:50:35 +00:00
SDL_init.h Removed obsolete documentation 2025-05-28 15:57:04 -07:00
SDL_intrin.h All SDL 3.0 release symbols are at version 3.2.0 2025-01-21 10:19:21 -08:00
SDL_iostream.h include: Fixed copy/paste error in endian-specific SDL_Read function docs. 2025-06-17 16:41:24 -04:00
SDL_joystick.h Sync SDL3 wiki -> header 2025-03-12 22:23:23 +00:00
SDL_keyboard.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_keycode.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_loadso.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_locale.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_log.h Sync SDL3 wiki -> header 2025-06-01 22:00:52 +00:00
SDL_main.h Sync SDL3 wiki -> header 2025-06-13 17:06:54 +00:00
SDL_main_impl.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_messagebox.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_metal.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_misc.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_mouse.h Sync SDL3 wiki -> header 2025-06-05 16:02:05 +00:00
SDL_mutex.h SDL_mutex.h: Fixed code example. 2025-03-13 10:08:32 -04:00
SDL_oldnames.h Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS 2025-01-02 17:18:09 -08:00
SDL_opengl.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_opengl_glext.h
SDL_opengles.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_opengles2.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_opengles2_gl2.h
SDL_opengles2_gl2ext.h
SDL_opengles2_gl2platform.h
SDL_opengles2_khrplatform.h
SDL_pen.h All SDL 3.0 release symbols are at version 3.2.0 2025-01-21 10:19:21 -08:00
SDL_pixels.h Update SDL_pixels.h 2025-05-29 11:03:31 -07:00
SDL_platform.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_platform_defines.h Sync SDL3 wiki -> header 2025-05-22 18:08:13 +00:00
SDL_power.h Sync SDL3 wiki -> header 2025-03-31 15:51:57 +00:00
SDL_process.h Sync SDL3 wiki -> header 2025-05-12 16:18:27 +00:00
SDL_properties.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_rect.h Sync SDL3 wiki -> header 2025-04-13 16:33:01 +00:00
SDL_render.h SDL_render.h: enum SDL_TextureAddressMode: Removed trailing comma 2025-06-24 21:56:20 +03:00
SDL_revision.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_scancode.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_sensor.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_stdinc.h stdinc: Docs said "macro" but meant "datatype." 2025-07-11 14:24:12 -04:00
SDL_storage.h Sync SDL3 wiki -> header 2025-05-19 20:23:53 +00:00
SDL_surface.h Sync SDL3 wiki -> header 2025-06-01 21:52:34 +00:00
SDL_system.h Sync SDL3 wiki -> header 2025-05-07 05:54:39 +00:00
SDL_test.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_assert.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_common.h WindowProgressState API getters and fixes (#12629) 2025-03-25 08:03:32 -07:00
SDL_test_compare.h All SDL 3.0 release symbols are at version 3.2.0 2025-01-21 10:19:21 -08:00
SDL_test_crc32.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_font.h All SDL 3.0 release symbols are at version 3.2.0 2025-01-21 10:19:21 -08:00
SDL_test_fuzzer.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_harness.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_log.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_md5.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_memory.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_thread.h Formatting spaces around pointer symbol. 2025-02-03 17:03:26 -08:00
SDL_time.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_timer.h Sync SDL3 wiki -> header 2025-06-28 12:31:32 +00:00
SDL_touch.h Sync SDL3 wiki -> headers. 2025-01-21 13:12:25 -05:00
SDL_tray.h Sync SDL3 wiki -> header 2025-02-05 15:45:41 +00:00
SDL_version.h Sync SDL3 wiki -> header 2025-05-31 21:11:00 +00:00
SDL_video.h Sync SDL3 wiki -> header 2025-07-11 18:20:01 +00:00
SDL_vulkan.h Tweak Vulkan include guard check and 64-bit platform defines (#13210) 2025-06-12 09:32:07 -07:00