diff options
author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2020-04-05 09:50:17 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-04-06 13:29:53 +0200 |
commit | 8d1439b692c5dc8edc4d4a1d334afd7070458029 (patch) | |
tree | 17b273228418b880c09ecfbda53b58bc20fb848a /qemu-nbd.c | |
parent | 174702986c04180e0c05cddbaf6b2547a07310eb (diff) |
dsoundaudio: dsound_get_buffer_in should honor *size
This patch prevents an underflow of variable samples in function
audio_pcm_hw_run_in(). See commit 599eac4e5a "audio:
audio_generic_get_buffer_in should honor *size". This time the
while loop in audio_pcm_hw_run_in() will terminate nevertheless,
because it seems the recording stream in Windows is always rate
limited.
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-id: 20200405075017.9901-3-vr_qemu@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions