mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 08:50:57 +01:00
audio_core: Revert sink name to sdl2
This commit is contained in:
parent
553be194f6
commit
d2170075e6
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue