From eb056218a13fa145adcc9ecafd166b1b1f2caccb Mon Sep 17 00:00:00 2001 From: Mary Date: Wed, 5 May 2021 23:37:09 +0200 Subject: audio: Implement a SDL2 backend (#2258) * audio: Implement a SDL2 backend This adds support to SDL2 as an audio backend. It has the same compatibility level as OpenAL without its issues. I also took the liberty of restructuring the SDL2 code to have one shared project between audio and input. The configuration version was also incremented. * Address gdkchan's comments * Fix update logic * Add an heuristic to pick the correct target sample count wanted by the game * Address gdkchan's comments * Address Ac_k's comments * Fix audren output * Address gdkchan's comments --- Ryujinx.Common/Configuration/AudioBackend.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Common/Configuration/AudioBackend.cs') diff --git a/Ryujinx.Common/Configuration/AudioBackend.cs b/Ryujinx.Common/Configuration/AudioBackend.cs index 28233354..e42df039 100644 --- a/Ryujinx.Common/Configuration/AudioBackend.cs +++ b/Ryujinx.Common/Configuration/AudioBackend.cs @@ -4,6 +4,7 @@ { Dummy, OpenAl, - SoundIo + SoundIo, + SDL2 } } \ No newline at end of file -- cgit v1.2.3