add sdl audio input/output devices and add by default (if audio works)

This commit is contained in:
2024-09-27 17:38:14 +02:00
parent d89ab0bf42
commit 61b9044f94
5 changed files with 356 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ int main(int argc, char** argv) {
runSysCheck();
SDL_SetAppMetadata("tomato", "0.0.0-wip", nullptr);
#ifdef __ANDROID__
// change current working dir to internal storage
std::filesystem::current_path(SDL_GetAndroidInternalStoragePath());