]> git.proxmox.com Git - mirror_qemu.git/commit
audio/paaudio: fix ignored buffer_length setting
authorMartin Schrodt <martin@schrodt.org>
Fri, 15 Mar 2019 08:46:51 +0000 (09:46 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Mar 2019 11:21:15 +0000 (12:21 +0100)
commitbaea032ec751306805214190b1ac23f409e9739a
tree79dc40352456bb0f2db752c50038c9ad4b25759c
parentd4e65539e570d5872003710b5a1064489911d33d
audio/paaudio: fix ignored buffer_length setting

Audiodev configuration allows to set the length of the buffered data.
The setting was ignored and a constant value used instead.
This patch makes the code apply the setting properly, and uses the
previous default if nothing is supplied.

Signed-off-by: Martin Schrodt <martin@schrodt.org>
Message-id: 20190315084653.120020-2-martin@schrodt.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/paaudio.c