Searched hist:"9 d90ceb27461d7d0d172fd941b812d511794a6c6" (Results 1 – 1 of 1) sorted by relevance
/qemu/audio/ |
H A D | dsoundaudio.c | 9d90ceb27461d7d0d172fd941b812d511794a6c6 Sun Dec 26 15:40:16 UTC 2021 Volker Rümelin <vr_qemu@t-online.de> 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>
|