diff options
| author | Jeffrey Crowell <jeff@crowell.biz> | 2026-02-27 19:34:29 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 03:34:29 +0000 |
| commit | fcf7d4bd15c900113f00bffd5bd12310ad69761e (patch) | |
| tree | c024e5a0673d17c7c013b9d49f8ab743080f863b | |
| parent | 9f56ef509032aabc93c37aecaa674bf95c2b5e29 (diff) | |
Add CoreAudio support (#6270)
| m--------- | libultraship | 0 | ||||
| -rw-r--r-- | soh/soh/SohGui/MenuTypes.h | 1 | ||||
| -rw-r--r-- | soh/soh/SohGui/SohGui.cpp | 3 |
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" } }; |
