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
1 changed files with 2 additions and 2 deletions

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)
{ {