]> git.proxmox.com Git - mirror_qemu.git/commit
audio: fix GUS audio playback with out.mixing-engine=off
authorVolker Rümelin <vr_qemu@t-online.de>
Fri, 23 Sep 2022 18:36:30 +0000 (20:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Oct 2022 08:17:08 +0000 (10:17 +0200)
commit7099a6a220c33d9c115e19e9f03ac61caa8358b5
tree95d88180cc381e1fa8dc804ff0b7f31d1b2692ee
parent4d31ff32a65adfae015e035931b864bd1c521d6e
audio: fix GUS audio playback with out.mixing-engine=off

Fix GUS audio playback with out.mixing-engine=off.

The GUS audio device needs to know the amount of samples to
produce in advance.

To reproduce start qemu with
-parallel none -device gus,audiodev=audio0
-audiodev pa,id=audio0,out.mixing-engine=off

and start the cartoon.exe demo in a FreeDOS guest. The demo file
is available on the download page of the GUSemu32 author.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-2-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c