More refactoring. Add the AudioBackend interface

This commit is contained in:
Henrik Rydgård
2025-06-16 21:05:30 +02:00
parent 990b74cc17
commit 61d6c95f0c
22 changed files with 94 additions and 74 deletions
+6
View File
@@ -33,6 +33,7 @@
#include "SDL_keyboard.h"
#endif
#include "Common/Audio/AudioBackend.h"
#include "Common/System/NativeApp.h"
#include "Common/System/Request.h"
#include "Common/GPU/OpenGL/GLFeatures.h"
@@ -444,6 +445,11 @@ void System_LaunchUrl(LaunchUrlType urlType, const char *url)
QDesktopServices::openUrl(QUrl(url));
}
AudioBackend *System_CreateAudioBackend() {
// Use legacy mechanisms.
return nullptr;
}
static int mainInternal(QApplication &a) {
#ifdef MOBILE_DEVICE
emugl = new MainUI();