summaryrefslogtreecommitdiffstats
path: root/src/audio_core/sink
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-07 07:52:23 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:54 +0200
commitd146dd9d123a999e40307a93403239b81b04bffc (patch)
tree6d338ad871fa37b47f00938773d5e27195325897 /src/audio_core/sink
parentconfiguration: Use IDs to sort holds (diff)
downloadyuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.gz
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.bz2
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.lz
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.xz
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.zst
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.zip
Diffstat (limited to 'src/audio_core/sink')
-rw-r--r--src/audio_core/sink/sink_details.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio_core/sink/sink_details.cpp b/src/audio_core/sink/sink_details.cpp
index 751e97bfc..027bfa517 100644
--- a/src/audio_core/sink/sink_details.cpp
+++ b/src/audio_core/sink/sink_details.cpp
@@ -82,11 +82,12 @@ const SinkDetails& GetOutputSinkDetails(Settings::AudioEngine sink_id) {
#else
iter = std::begin(sink_details);
#endif
- LOG_INFO(Service_Audio, "Auto-selecting the {} backend", Settings::TranslateEnum(iter->id));
+ LOG_INFO(Service_Audio, "Auto-selecting the {} backend",
+ Settings::CanonicalizeEnum(iter->id));
}
if (iter == std::end(sink_details)) {
- LOG_ERROR(Audio, "Invalid sink_id {}", Settings::TranslateEnum(sink_id));
+ LOG_ERROR(Audio, "Invalid sink_id {}", Settings::CanonicalizeEnum(sink_id));
iter = find_backend(Settings::AudioEngine::Null);
}