audio_core: Implement OpenAL backend (#6450)

This commit is contained in:
Steveice10
2023-05-01 21:17:45 +02:00
committed by GitHub
parent ce553ab995
commit 055a58f01e
48 changed files with 1042 additions and 576 deletions
+9
View File
@@ -101,6 +101,10 @@
#include "video_core/renderer_base.h"
#include "video_core/video_core.h"
#ifdef __APPLE__
#include "macos_authorization.h"
#endif
#ifdef USE_DISCORD_PRESENCE
#include "citra_qt/discord_impl.h"
#endif
@@ -2779,6 +2783,11 @@ int main(int argc, char* argv[]) {
// Register Qt image interface
system.RegisterImageInterface(std::make_shared<QtImageInterface>());
#ifdef __APPLE__
// Register microphone permission check.
system.RegisterMicPermissionCheck(&AppleAuthorization::CheckAuthorizationForMicrophone);
#endif
main_window.show();
QObject::connect(&app, &QGuiApplication::applicationStateChanged, &main_window,