]> git.ipfire.org Git - thirdparty/qemu.git/commit
audio: fix audio recording
authorVolker Rümelin <vr_qemu@t-online.de>
Tue, 19 Nov 2019 06:58:49 +0000 (07:58 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Nov 2019 08:11:12 +0000 (09:11 +0100)
commit7ffc90f3ae3d84562a4bda63cde961000b335542
tree458ad5c979141b473ae05b1eee8dd582056c07f1
parent39e2821077e6dcf788b7c2a9ef50970ec7995437
audio: fix audio recording

With current code audio recording with all audio backends
except PulseAudio and DirectSound is broken. The generic audio
recording buffer management forgot to update the current read
position after a read.

Fixes: ff095e5231 "audio: api for mixeng code free backends"
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Zoltán Kővágó <DirtY.iCE.hu@gmail.com>
Message-id: 2fc947cf-7b42-de68-3f11-cbcf1c096be9@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c