qemu-e2k/audio
Volker Rümelin 9d90ceb274 dsoundaudio: fix crackling audio recordings
Audio recordings with the DirectSound backend don't sound right.
A look a the Microsoft online documentation tells us why.

From the DirectSound Programming Guide, Capture Buffer Information:
'You can safely copy data from the buffer only up to the read
cursor.'

Change the code to read up to the read cursor instead of the
capture cursor.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20211226154017.6067-2-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2022-01-13 10:47:52 +01:00
..
alsaaudio.c
audio_int.h audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
audio_legacy.c
audio_template.h audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
audio_win_int.c
audio_win_int.h
audio.c audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
audio.h
coreaudio.c
dbusaudio.c audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
dsound_template.h
dsoundaudio.c dsoundaudio: fix crackling audio recordings 2022-01-13 10:47:52 +01:00
jackaudio.c jackaudio: use ifdefs to hide unavailable functions 2022-01-13 10:47:52 +01:00
meson.build audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
mixeng_template.h
mixeng.c
mixeng.h
noaudio.c
ossaudio.c
paaudio.c
rate_template.h
sdlaudio.c
spiceaudio.c
trace-events audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
trace.h
wavaudio.c
wavcapture.c