paaudio: fix samples vs. frames mix-up
commitacf7a705980d157735242cf3bedabd2ef22c5384
authorVolker Rümelin <vr_qemu@t-online.de>
Tue, 1 Mar 2022 19:13:10 +0000 (1 20:13 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 4 Mar 2022 10:05:13 +0000 (4 11:05 +0100)
treed60ee152336c986717bba59bfb799c920ecc609b
parent385211e8f903c75d7d1322ba0e21c370b2edaddd
paaudio: fix samples vs. frames mix-up

Now that the mixing buffer size no longer adds to playback
latency, fix the samples vs. frames mix-up in the mixing buffer
size calculation. This change will go largely unnoticed as long
as the user doesn't use a buffer-size smaller than timer-period.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20220301191311.26695-14-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/paaudio.c