audio/jack: fix invalid minimum buffer size check
commit36963ed116b625c6dcdf71002c804f893dc6fdc1
authorGeoffrey McRae <geoff@hostfission.com>
Sat, 13 Jun 2020 04:05:13 +0000 (13 14:05 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Jun 2020 12:44:51 +0000 (17 14:44 +0200)
treeae524d4522433723a602ef00a4465ff9bed0d811
parent5c24bce3056ff209a1ecc50ff4b7e65b85ad8e74
audio/jack: fix invalid minimum buffer size check

JACK does not provide us with the configured buffer size until after
activiation which was overriding this minimum value. JACK itself doesn't
have this minimum limitation, but the QEMU virtual hardware and as such
it must be enforced, failure to do so results in audio discontinuities.

Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-id: 20200613040518.38172-2-geoff@hostfission.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/jackaudio.c