diff options
author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2022-03-01 20:13:02 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-03-04 11:05:13 +0100 |
commit | 369829a435ad87d2ac8ae79e6dc61e8c76d6890b (patch) | |
tree | dae76e6a558b4840e89820b11ffa72003b489d54 /Makefile | |
parent | 30ff5e24a31e818f2ae41861727866a35bfdbe23 (diff) | |
download | qemu-369829a435ad87d2ac8ae79e6dc61e8c76d6890b.zip qemu-369829a435ad87d2ac8ae79e6dc61e8c76d6890b.tar.gz qemu-369829a435ad87d2ac8ae79e6dc61e8c76d6890b.tar.bz2 |
jackaudio: use more jack audio buffers
The next patch reduces the effective qemu playback buffer size
by timer-period. Increase the number of jack audio buffers by
one to preserve the total effective buffer size. The size of one
jack audio buffer is 512 samples. With audio defaults that's
512 samples / 44100 samples/s = 11.6 ms and only slightly larger
than the timer-period of 10 ms.
The larger jack audio buffer increases audio dropout safety,
because the high priority jack-audio worker threads can provide
audio data for a longer period of time as with a smaller buffer
and more audio data in the mixing engine buffer that they can't
access.
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20220301191311.26695-6-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions