Volker Rümelin df016a1998 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>
2020-01-06 08:47:16 +01:00
..
2019-08-21 09:13:37 +02:00
2019-08-16 13:31:52 +02:00
2019-08-21 09:13:37 +02:00
2019-08-21 09:13:37 +02:00
2019-08-21 09:13:37 +02:00
2017-05-04 09:16:05 +02:00
2017-05-04 09:16:05 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-03-07 21:45:53 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2019-08-21 09:13:37 +02:00
2019-08-21 09:13:37 +02:00
2019-08-21 09:13:37 +02:00