aboutsummaryrefslogtreecommitdiff
path: root/audio/audio.c
diff options
context:
space:
mode:
authorVolker RĂ¼melin <vr_qemu@t-online.de>2020-04-05 09:50:16 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-04-06 13:29:53 +0200
commit174702986c04180e0c05cddbaf6b2547a07310eb (patch)
tree0d07edff97d87850d5e10b88e96f9f67fb55a509 /audio/audio.c
parent4ba664cb0aabecfc425aa94cd025c515e6251539 (diff)
downloadqemu-174702986c04180e0c05cddbaf6b2547a07310eb.zip
qemu-174702986c04180e0c05cddbaf6b2547a07310eb.tar.gz
qemu-174702986c04180e0c05cddbaf6b2547a07310eb.tar.bz2
dsoundaudio: fix "Could not lock capture buffer" warning
IDirectSoundCaptureBuffer_Lock() fails on Windows when called with len = 0. Return early from dsound_get_buffer_in() in this case. To reproduce the warning start a linux guest. In the guest start Audacity and you will see a lot of "Could not lock capture buffer" warnings. Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de> Message-id: 20200405075017.9901-2-vr_qemu@t-online.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio/audio.c')
0 files changed, 0 insertions, 0 deletions