xemu/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 alsaaudio: remove #ifdef DEBUG to avoid bit rot 2021-06-17 11:54:09 +02:00
audio_int.h audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
audio_legacy.c sdlaudio: add -audiodev sdl,out.buffer-count option 2021-01-15 11:25:22 +01:00
audio_template.h audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
audio_win_int.c dsoundaudio: fix log message 2021-01-15 11:25:22 +01:00
audio_win_int.h
audio.c audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
audio.h qdev: Move softmmu properties to qdev-properties-system.h 2020-12-18 15:20:17 -05:00
coreaudio.c coreaudio: Lock only the buffer 2021-06-23 14:16:48 +02:00
dbusaudio.c audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
dsound_template.h dsoundaudio: replace GetForegroundWindow() 2021-01-15 11:25:22 +01:00
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 audio: Let audio_sample_to_uint64() use const samples argument 2020-05-26 08:29:30 +02:00
mixeng.h
noaudio.c audio: split pcm_ops function get_buffer_in 2021-01-15 11:25:22 +01:00
ossaudio.c audio: Add braces for statements/fix braces' position 2021-01-15 11:49:26 +01:00
paaudio.c audio: move code to audio/audio.c 2021-06-17 11:54:09 +02:00
rate_template.h
sdlaudio.c sdlaudio: enable (in|out).mixing-engine=off 2021-01-15 11:25:22 +01:00
spiceaudio.c modules: add audio module annotations 2021-07-09 18:20:27 +02:00
trace-events audio: add "dbus" audio backend 2021-12-21 10:50:22 +04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
wavaudio.c
wavcapture.c monitor: Use getter/setter functions for cur_mon 2020-10-09 07:08:19 +02:00