summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-10-14 17:59:33 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-10-14 17:59:33 +0200
commitd2170075e658a0ccc6d8bfa62f52e307a307572f (patch)
tree579071fa0c48b2ffcfa033492416c5f69e0aa2b0 /src/audio_core
parentMerge pull request #9067 from Morph1984/tess-cw (diff)
downloadyuzu-d2170075e658a0ccc6d8bfa62f52e307a307572f.tar
yuzu-d2170075e658a0ccc6d8bfa62f52e307a307572f.tar.gz
yuzu-d2170075e658a0ccc6d8bfa62f52e307a307572f.tar.bz2
yuzu-d2170075e658a0ccc6d8bfa62f52e307a307572f.tar.lz
yuzu-d2170075e658a0ccc6d8bfa62f52e307a307572f.tar.xz
yuzu-d2170075e658a0ccc6d8bfa62f52e307a307572f.tar.zst
yuzu-d2170075e658a0ccc6d8bfa62f52e307a307572f.zip
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/sink/sink_details.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/sink/sink_details.cpp b/src/audio_core/sink/sink_details.cpp
index b878bf23f..39ea6d91b 100644
--- a/src/audio_core/sink/sink_details.cpp
+++ b/src/audio_core/sink/sink_details.cpp
@@ -47,7 +47,7 @@ constexpr SinkDetails sink_details[] = {
#endif
#ifdef HAVE_SDL2
SinkDetails{
- "sdl",
+ "sdl2",
[](std::string_view device_id) -> std::unique_ptr<Sink> {
return std::make_unique<SDLSink>(device_id);
},
@@ -76,7 +76,7 @@ const SinkDetails& GetOutputSinkDetails(std::string_view sink_id) {
#if defined(HAVE_CUBEB) && defined(HAVE_SDL2)
iter = find_backend("cubeb");
if (iter->latency() > TargetSampleCount * 3) {
- iter = find_backend("sdl");
+ iter = find_backend("sdl2");
}
#else
iter = std::begin(sink_details);