]> git.proxmox.com Git - mirror_qemu.git/commit
audio/paaudio: fix microphone input being unusable
authorMartin Schrodt <martin@schrodt.org>
Fri, 15 Mar 2019 08:46:53 +0000 (09:46 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Mar 2019 11:21:15 +0000 (12:21 +0100)
commitade103011c6476353fbc2a707aa6ef1f1aa9e2fb
tree7fa1dade5bab2331b2a523952cb5c4f63965e97e
parentf6142777659f2e7ad143f2850f1f036f899f475f
audio/paaudio: fix microphone input being unusable

The current code does not specify the metrics of the buffers for the
input device. This makes PulseAudio choose very bad defaults, which
causes input to be unusable: Audio put in gets out 30 seconds later.
This patch fixes that and makes the latency configurable as well.

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