summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------libultraship0
-rw-r--r--soh/soh/SohGui/MenuTypes.h1
-rw-r--r--soh/soh/SohGui/SohGui.cpp3
3 files changed, 4 insertions, 0 deletions
diff --git a/libultraship b/libultraship
-Subproject 5c8b975de422c71fd6cda44ada5543c9067f57a
+Subproject 61bc9402559c67d803084f96b296bc738523228
diff --git a/soh/soh/SohGui/MenuTypes.h b/soh/soh/SohGui/MenuTypes.h
index d14905a5b..b3ceea089 100644
--- a/soh/soh/SohGui/MenuTypes.h
+++ b/soh/soh/SohGui/MenuTypes.h
@@ -267,6 +267,7 @@ struct MainMenuEntry {
static const std::map<Ship::AudioBackend, const char*> audioBackendsMap = {
{ Ship::AudioBackend::WASAPI, "Windows Audio Session API" },
{ Ship::AudioBackend::SDL, "SDL" },
+ { Ship::AudioBackend::COREAUDIO, "Core Audio" },
{ Ship::AudioBackend::NUL, "Null" },
};
diff --git a/soh/soh/SohGui/SohGui.cpp b/soh/soh/SohGui/SohGui.cpp
index 183038d43..7711fc5dd 100644
--- a/soh/soh/SohGui/SohGui.cpp
+++ b/soh/soh/SohGui/SohGui.cpp
@@ -47,6 +47,9 @@ static const inline std::vector<std::pair<const char*, const char*>> audioBacken
#if defined(__linux)
{ "pulse", "PulseAudio" },
#endif
+#ifdef __APPLE__
+ { "coreaudio", "Core Audio" },
+#endif
{ "sdl", "SDL Audio" }
};