diff options
author | Volker RĂ¼melin | 2021-01-10 11:02:27 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2021-01-15 11:25:22 +0100 |
commit | bd37ede4ebd4b862fbd244750c73cf55a8facced (patch) | |
tree | d92eae80af195c9eec9ca4f63883b6e04e94d33a /audio | |
parent | audio: break generic buffer dependency on mixing-engine (diff) | |
download | qemu-bd37ede4ebd4b862fbd244750c73cf55a8facced.tar.gz qemu-bd37ede4ebd4b862fbd244750c73cf55a8facced.tar.xz qemu-bd37ede4ebd4b862fbd244750c73cf55a8facced.zip |
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 <vr_qemu@t-online.de>
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 <kraxel@redhat.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sdlaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 445cae8de5..c68c62a3e4 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), }; |