mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
Add CoreAudio support (#6270)
This commit is contained in:
parent
9f56ef5090
commit
fcf7d4bd15
|
|
@ -1 +1 @@
|
|||
Subproject commit 5c8b975de422c71fd6cda44ada5543c9067f57a2
|
||||
Subproject commit 61bc9402559c67d803084f96b296bc738523228f
|
||||
|
|
@ -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" },
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ static const inline std::vector<std::pair<const char*, const char*>> audioBacken
|
|||
#endif
|
||||
#if defined(__linux)
|
||||
{ "pulse", "PulseAudio" },
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
{ "coreaudio", "Core Audio" },
|
||||
#endif
|
||||
{ "sdl", "SDL Audio" }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue