From: Volker RĂ¼melin Date: Sun, 10 Jan 2021 10:02:27 +0000 (+0100) Subject: sdlaudio: enable (in|out).mixing-engine=off X-Git-Tag: v6.0.0-rc0~144^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd37ede4ebd4b862fbd244750c73cf55a8facced;p=thirdparty%2Fqemu.git sdlaudio: enable (in|out).mixing-engine=off Enable the SDL2 backend options -audiodev sdl,out.mixing- engine=off,in.mixing-engine=off. Signed-off-by: Volker RĂ¼melin Message-id: 9315afe5-5958-c0b4-ea1e-14769511a9d5@t-online.de Message-Id: <20210110100239.27588-11-vr_qemu@t-online.de> Signed-off-by: Gerd Hoffmann --- diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 445cae8de57..c68c62a3e4f 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -495,8 +495,8 @@ static struct audio_driver sdl_audio_driver = { .fini = sdl_audio_fini, .pcm_ops = &sdl_pcm_ops, .can_be_default = 1, - .max_voices_out = 1, - .max_voices_in = 1, + .max_voices_out = INT_MAX, + .max_voices_in = INT_MAX, .voice_size_out = sizeof(SDLVoiceOut), .voice_size_in = sizeof(SDLVoiceIn), };