summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVolker RĂ¼melin2020-01-04 10:11:18 +0100
committerGerd Hoffmann2020-01-06 08:47:16 +0100
commitdf016a1998147ec328d7e800a7f7582e053720d1 (patch)
tree52905b3ef4efdf28c0b041dfa8bd91a4687ce0d8 /scripts
parentMerge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ... (diff)
downloadqemu-df016a1998147ec328d7e800a7f7582e053720d1.tar.gz
qemu-df016a1998147ec328d7e800a7f7582e053720d1.tar.xz
qemu-df016a1998147ec328d7e800a7f7582e053720d1.zip
hda-codec: fix playback rate control
Since commit 1930616b98 "audio: make mixeng optional" the function hda_audio_output_cb can no longer assume the function parameter avail contains the free buffer size. With the playback mixing-engine turned off this leads to a broken playback rate control and playback buffer drops in regular intervals. This patch moves down the rate calculation, so the correct buffer fill level is used for the calculation. Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de> Message-id: 20200104091122.13971-1-vr_qemu@t-online.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions