diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-14 19:16:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 19:16:38 +0200 |
commit | 6a9bbb012830d440f049667977c91e14bb925ac8 (patch) | |
tree | 579071fa0c48b2ffcfa033492416c5f69e0aa2b0 /src | |
parent | Merge pull request #9067 from Morph1984/tess-cw (diff) | |
parent | audio_core: Revert sink name to sdl2 (diff) | |
download | yuzu-6a9bbb012830d440f049667977c91e14bb925ac8.tar yuzu-6a9bbb012830d440f049667977c91e14bb925ac8.tar.gz yuzu-6a9bbb012830d440f049667977c91e14bb925ac8.tar.bz2 yuzu-6a9bbb012830d440f049667977c91e14bb925ac8.tar.lz yuzu-6a9bbb012830d440f049667977c91e14bb925ac8.tar.xz yuzu-6a9bbb012830d440f049667977c91e14bb925ac8.tar.zst yuzu-6a9bbb012830d440f049667977c91e14bb925ac8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/sink/sink_details.cpp | 4 |
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); |