Settings: Add missing Cubeb entry to audio backend names

This commit is contained in:
Connor McLaughlin 2020-01-21 21:27:29 +10:00
parent 8096dc510d
commit a832138191

View file

@ -215,8 +215,8 @@ const char* Settings::GetRendererDisplayName(GPURenderer renderer)
return s_gpu_renderer_display_names[static_cast<int>(renderer)]; return s_gpu_renderer_display_names[static_cast<int>(renderer)];
} }
static std::array<const char*, 2> s_audio_backend_names = {{"Null", "Default"}}; static std::array<const char*, 3> s_audio_backend_names = {{"Null", "Default", "Cubeb"}};
static std::array<const char*, 2> s_audio_backend_display_names = {{"Null (No Output)", "Default"}}; static std::array<const char*, 3> s_audio_backend_display_names = {{"Null (No Output)", "Default", "Cubeb"}};
std::optional<AudioBackend> Settings::ParseAudioBackend(const char* str) std::optional<AudioBackend> Settings::ParseAudioBackend(const char* str)
{ {