Sam Lantinga
e4460e897f
By default Xcode expects the framework target name to be the name of the project.
2023-07-31 22:03:50 -07:00
Sam Lantinga
ac683773dc
Added missing tests to the "All" target
2023-07-31 21:39:26 -07:00
Sam Lantinga
7dd56eaafe
Removed unnecessary reference to testoverlay-Info.plist
2023-07-31 21:36:09 -07:00
Sam Lantinga
e1c7f524ef
Reduce the number of times SDL3 is duplicated in the xcframework script
2023-07-31 21:25:23 -07:00
Sam Lantinga
65538011ca
Make Xcode targets more specific
...
This makes sure they show up in the scheme selection menu when included with other libraries in top level Xcode projects
2023-07-31 21:17:03 -07:00
Sam Lantinga
efe114c300
Revert "Renamed the xcframework target from "SDL.xcframework" to "xcframework""
...
This reverts commit 73ed1d21a9
.
2023-07-31 21:11:18 -07:00
Sam Lantinga
73ed1d21a9
Renamed the xcframework target from "SDL.xcframework" to "xcframework"
2023-07-31 20:54:08 -07:00
Sam Lantinga
76b4d8a0d8
Build the Framework instead of a static library for iOS and tvOS
2023-07-31 20:53:43 -07:00
Sam Lantinga
d1bf979160
Removed unnecessary setting from the "Create DMG" target
2023-07-31 18:51:13 -07:00
Sam Lantinga
c94cb3a5d8
Simplified the Xcode project to a single Framework target
...
Static and shared libraries can be built using CMake support in SDL 3.0
Built tests for macOS, iOS, and tvOS
2023-07-31 18:38:18 -07:00
Anonymous Maarten
ea60474c65
cmake: don't build SDL3-static Apple framework
2023-08-01 01:35:57 +00:00
SDL Wiki Bot
8f00d7856d
Sync SDL3 wiki -> header
2023-07-31 23:40:15 +00:00
Semphris
d4a867a256
Rename SDL_GetPath to SDL_GetUserFolder
...
The documentation has been edited accordingly, and certain parts have been clarified.
2023-07-31 16:39:33 -07:00
Sam Lantinga
71099149b8
Fall back to Xlib if XRandR isn't available
...
This fixes video initialization on headless systems with VNC
Fixes https://github.com/libsdl-org/SDL/issues/8054
2023-07-31 14:38:48 -07:00
Sam Lantinga
b7f32f74ce
Note the removal of the SDL_RENDERER_TARGETTEXTURE flag
...
Render targets are a core feature of SDL 3.0, so this flag has been removed.
The OpenGL ES renderer still doesn't support them, but we'll deal with that later.
Fixes https://github.com/libsdl-org/SDL/issues/8059
2023-07-31 08:36:44 -07:00
Ryan C. Gordon
0eda582160
testaudiostreamdynamicresample: Load sample.wav correctly.
2023-07-30 23:00:52 -04:00
Ryan C. Gordon
87eae9a0a1
aaudio: We need a mixbuf on capture devices, too.
2023-07-30 20:24:27 -04:00
Frank Praznik
fb68e84646
wayland: Fix memory leaks
...
Fix some memory leaks reported by Valgrind due to not destroying objects.
2023-07-30 12:46:02 -04:00
Ryan C. Gordon
b0edd23c00
testsurround: Log available audio output devices at the start.
2023-07-30 11:57:30 -04:00
Ryan C. Gordon
ae3090c387
androidaudio: Move Init/bootstrap code to bottom of source code.
...
I can't ever find this when it's in the middle! It's a "me" problem. :)
2023-07-30 11:56:43 -04:00
Ryan C. Gordon
18fc0db9e5
aaudio: Rearranged source code to match other backends.
2023-07-30 11:56:43 -04:00
Ryan C. Gordon
2507c1d68b
aaudio: Disconnect playing devices if error callback fires.
2023-07-30 11:56:42 -04:00
Ryan C. Gordon
32a3fc3783
aaudio: Use the callback interface.
...
This is allegedly lower-latency than the AAudioStream_write interface,
but more importantly, it let me set this up to block in WaitDevice.
Also turned on the low-latency performance mode, which trades battery life
for a more efficient audio thread to some unspecified degree.
2023-07-30 11:56:42 -04:00
Ryan C. Gordon
b49ce86765
audio: Fixed compiler warning on Android NDK.
2023-07-30 11:56:42 -04:00
Ryan C. Gordon
1c074e8d97
android: Fixed audio device detection.
2023-07-30 11:56:42 -04:00
Ryan C. Gordon
82ce05ad01
pulseaudio: Be more aggressive with hotplug thread synchronization.
...
(Borrowed from the SDL2 branch.)
2023-07-30 11:56:41 -04:00
Ryan C. Gordon
5cbdf1168e
androidaudio: Fixed incorrect JNI call (thanks, @madebr!)
2023-07-30 11:56:41 -04:00
Ryan C. Gordon
660054f3dc
include: Correct comment about audio device hotplug events.
2023-07-30 11:56:41 -04:00
Ryan C. Gordon
ab68428a64
aaudio: Fixed for older SDKs and Android releases.
2023-07-30 11:56:41 -04:00
Ryan C. Gordon
5ff87c6d4a
android: Reworked audio backends for SDL3 audio API.
...
This involved moving an `#ifdef` out of SDL_audio.c for thread priority,
so the default ThreadInit now does the usual stuff for non-Android platforms,
the Android platforms provide an implementatin of ThreadInit with their
side of the `#ifdef` and other platforms that implement ThreadInit
incorporated the appropriate code...which is why WASAPI is touched in here.
The Android bits compile, but have not been tested, and there was some
reworkings in the Java bits, so this might need some further fixes still.
2023-07-30 11:56:41 -04:00
Ryan C. Gordon
54af687210
testautomation_audio.c: Patched to compile. :/
2023-07-30 11:56:40 -04:00
Ryan C. Gordon
5e82090662
testautomation_audio.c: Apparently we aren't updating test code for C99 atm.
2023-07-30 11:56:40 -04:00
Ryan C. Gordon
7f4488f625
wasapi: More fixes for Clang warnings.
2023-07-30 11:56:40 -04:00
Ryan C. Gordon
29a0c689c9
wasapi: Patched to compile with Clang.
2023-07-30 11:56:40 -04:00
Ryan C. Gordon
4aa95c21bc
pspaudio: Patched to compile.
2023-07-30 11:56:40 -04:00
Ryan C. Gordon
9a2a0a1463
ps2audio: Delete errant character that got inserted before previous commit.
2023-07-30 11:56:39 -04:00
Ryan C. Gordon
2c578bd0d5
qnxaudio: Rewrite for SDL3 audio APIs.
...
I have no way to compile or test this atm, so this will likely need
further attention. I ended up cleaning this up a ton and adding missing
features, so the code changes are pretty dramatic vs a simple conversion
to SDL3...so tread carefully in here.
2023-07-30 11:56:39 -04:00
Ryan C. Gordon
455eef4cd9
audio: Use AtomicAdd for device counts, don't treat as a refcount.
2023-07-30 11:56:39 -04:00
Ryan C. Gordon
095ea57f94
pspaudio: Patched to compile.
2023-07-30 11:56:39 -04:00
Ryan C. Gordon
d7cf63db67
ps2audio: Patched to compile.
2023-07-30 11:56:38 -04:00
Ryan C. Gordon
027b9e8787
coreaudio: (maybe) patched to compile on iOS.
2023-07-30 11:56:38 -04:00
Ryan C. Gordon
4836c2db07
pspaudio: Patched to compile.
2023-07-30 11:56:38 -04:00
Ryan C. Gordon
86ca412436
n3dsaudio: Patched to compile.
2023-07-30 11:56:38 -04:00
Ryan C. Gordon
66bcee2ca9
testaudiostreamdynamicresample.c: Fixed MSVC compiler warning.
2023-07-30 11:56:38 -04:00
Ryan C. Gordon
dbf993d358
vitaaudio: patched to compile.
2023-07-30 11:56:37 -04:00
Ryan C. Gordon
5707e14716
audio: Fix up some things that broke when rebasing the branch against main.
2023-07-30 11:56:37 -04:00
Ryan C. Gordon
6567285eae
SDL_migration.cocci: Fix up SDL_(Pause|Unpause)Audio.
2023-07-30 11:56:37 -04:00
Ryan C. Gordon
0b6255551e
test: Fixed incorrect SDL_OpenAudioDevice call in testautomation.
2023-07-30 11:56:37 -04:00
Ryan C. Gordon
107fd941cd
vitaaudio: Clean up correctly in CloseDevice.
2023-07-30 11:56:37 -04:00
Ryan C. Gordon
9fa4a6ef87
netbsdaudio: Minor fix.
2023-07-30 11:56:36 -04:00