diff options
author | Volker RĂ¼melin | 2021-01-10 11:02:34 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2021-01-15 11:25:22 +0100 |
commit | 00413ed9c2fff416b3c1ee94b2e968e9c564c7bd (patch) | |
tree | 507823945827fa1967ed74b4351fcd3daa4372bd /capstone | |
parent | paaudio: comment bugs in functions qpa_init_* (diff) | |
download | qemu-00413ed9c2fff416b3c1ee94b2e968e9c564c7bd.tar.gz qemu-00413ed9c2fff416b3c1ee94b2e968e9c564c7bd.tar.xz qemu-00413ed9c2fff416b3c1ee94b2e968e9c564c7bd.zip |
paaudio: limit minreq to 75% of audio timer_rate
Currently with the playback buffer attribute minreq = -1 and flag
PA_STREAM_EARLY_REQUESTS PulseAudio uses minreq = tlength / 4.
To improve audio playback with larger PulseAudio server side
buffers, limit minreq to a maximum of 75% of audio timer_rate.
That way there is a good chance qemu receives a stream buffer
size update before it tries to write data to the playback stream.
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-id: 9315afe5-5958-c0b4-ea1e-14769511a9d5@t-online.de
Message-Id: <20210110100239.27588-18-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'capstone')
0 files changed, 0 insertions, 0 deletions