// SDL3 API Quick Reference
//
// https://libsdl.org/
//
// The latest version of this document can be found at https://wiki.libsdl.org/SDL3/QuickReference
// When this document was written: 2024-12-09 00:00:45 GMT
// Based on SDL version 3.1.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CC=cc CFLAGS="-O0 -g" ../configure | |
| checking build system type... x86_64-pc-solaris2.10 | |
| checking host system type... x86_64-pc-solaris2.10 | |
| checking how to print strings... printf | |
| checking for gcc... cc | |
| checking whether the C compiler works... yes | |
| checking for C compiler default output file name... a.out | |
| checking for suffix of executables... | |
| checking whether we are cross compiling... no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -ruBbN '--exclude=.git' SDL-2.0.22/android-project/build.gradle SDL-whisthq/android-project/build.gradle | |
| --- SDL-2.0.22/android-project/build.gradle 2024-08-01 00:22:36.006294486 -0400 | |
| +++ SDL-whisthq/android-project/build.gradle 2024-08-01 00:21:19.933039042 -0400 | |
| @@ -6,7 +6,7 @@ | |
| google() | |
| } | |
| dependencies { | |
| - classpath 'com.android.tools.build:gradle:7.0.3' | |
| + classpath 'com.android.tools.build:gradle:7.3.0' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This is only intended for macOS; I cut out the iOS-specific pieces when pulling this code out of SDL for a reproduction case! | |
| // clang -Wall -O0 -ggdb3 -fobjc-arc -o coreaudio-replug-problem coreaudio-replug-problem.m -framework AudioToolbox | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <math.h> | |
| #include <pthread.h> | |
| #include <signal.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SDL_AcquireGPUCommandBuffer | |
| SDL_AcquireGPUSwapchainTexture | |
| SDL_AddSurfaceAlternateImage | |
| SDL_AppInit | |
| SDL_AttachVirtualJoystick | |
| SDL_BeginGPUComputePass | |
| SDL_BeginGPUCopyPass | |
| SDL_BeginGPURenderPass | |
| SDL_BindGPUComputePipeline | |
| SDL_BindGPUComputeSamplers |
Based on SDL version 3.1.7
(If you'd rather have something you can copy/paste into an IDE, for searching and syntax highlighting, check out QuickReferenceC or QuickReferenceCNoUnicode instead.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED ... // Specify the behavior of Alt+Tab while the keyboard is grabbed. | |
| #define SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY ... // A variable to control whether the SDL activity is allowed to be re-created. | |
| #define SDL_HINT_ANDROID_BLOCK_ON_PAUSE ... // A variable to control whether the event loop will block itself when the app is paused. | |
| #define SDL_HINT_ANDROID_LOW_LATENCY_AUDIO ... // A variable to control whether low latency audio should be enabled. | |
| #define SDL_HINT_ANDROID_TRAP_BACK_BUTTON ... // A variable to control whether we trap the Android back button to handle it manually. | |
| #define SDL_HINT_APP_ID ... // A variable setting the app ID string. | |
| #define SDL_HINT_APP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/audio/coreaudio/SDL_coreaudio.h b/src/audio/coreaudio/SDL_coreaudio.h | |
| index cd64e3038..e00d835b0 100644 | |
| --- a/src/audio/coreaudio/SDL_coreaudio.h | |
| +++ b/src/audio/coreaudio/SDL_coreaudio.h | |
| @@ -60,7 +60,7 @@ struct SDL_PrivateAudioData | |
| #ifdef MACOSX_COREAUDIO | |
| AudioDeviceID deviceID; | |
| #else | |
| - SDL_bool interrupted; | |
| + bool interrupted; |
OlderNewer