Commit Graph

8 Commits

Author SHA1 Message Date
Joseph Cloutier
a378f12607 Fix references to missing files. 2022-05-20 16:16:26 -04:00
Joseph Cloutier
c37e48faaf Disable HIDAPI.
Problem one: it requires its own binary, which we haven't built. There
are instructions in sdl/src/hidapi/README.txt, if we ever want to try.

Problem two: the Android app segfaults when `hid_init()` calls
`g_JVM->AttachCurrentThread()`. This might be a bug in NDK 21's jni.h,
but that seems unlikely. Perhaps a version mismatch?

In any case, we aren't using the code at the moment, so the easy answer
is to leave it out.
2022-05-20 01:00:35 -04:00
Joseph Cloutier
d21847e65c Update SDL to 2.0.22.
On Android, `SDL_RWops` no longer stores a plain file descriptor,
so the `AAsset` API must be used instead:
https://developer.android.com/ndk/reference/group/asset

`HAVE_INOTIFY` is required on Linux at the moment, but the bug will be
fixed in the next SDL release.
2022-05-19 17:34:20 -04:00
Joseph Cloutier
2e645678a0 Attempt to resolve Windows-specific errors.
alfstream.cpp doesn't look like a Windows-specific file, so I'd rather
compile it everywhere until proven Windows-specific. Even though Mac and
Linux have been doing ok without it so far.
2022-05-16 18:55:33 -04:00
Joseph Cloutier
2dc827a432 Remove PulseAudio headers.
These are often included with the OS, or can easily be installed if not.
2022-05-16 14:10:20 -04:00
Joseph Cloutier
b63c054fab Add PulseAudio headers.
PulseAudio v15.99.1
2022-05-16 02:23:09 -04:00
Joseph Cloutier
f200ecd9ca Use the official SDL repo as a submodule.
Continuing to use version 2.0.12 for now.

Missing changes:
370d05558c
e572215f5a
fa51fcb56b

Notes:
The changes in e572215 will be included when we update SDL.
The files.xml change from fa51fcb is actually included.
https://github.com/kcat/openal-soft/pull/227 is not resolved.
2022-05-12 23:17:16 -04:00
Joseph Cloutier
bc584ea611 Remove hxcpp build files from submodules. 2022-05-06 19:41:31 -04:00