diff options
author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2022-03-01 20:13:01 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-03-04 11:05:13 +0100 |
commit | 30ff5e24a31e818f2ae41861727866a35bfdbe23 (patch) | |
tree | 5b79ceff3c3df82aae63cd18d685966aa1ca2b4e /audio | |
parent | 0ceb26af0c2f4f07ed5d2c2493552501926df45b (diff) | |
download | qemu-30ff5e24a31e818f2ae41861727866a35bfdbe23.zip qemu-30ff5e24a31e818f2ae41861727866a35bfdbe23.tar.gz qemu-30ff5e24a31e818f2ae41861727866a35bfdbe23.tar.bz2 |
paaudio: increase default latency to 46ms
This is a patch to improve the pulseaudio playback experience.
Asking pulseaudio for a playback latency of 15ms is quite
demanding. Increase this to 46ms. The total playback latency
now is 31ms larger. One of the next patches will reduce the
total playback latency again by more than 46ms.
Here is a quote from the PulseAudio Latency Control
documentation: 'For the sake of (...) drop-out safety always
make sure to pick the highest latency possible that fulfills
your needs.'
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-Id: <20220301191311.26695-5-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/paaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c index 75401d5..9df1e69 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -744,7 +744,7 @@ static int qpa_validate_per_direction_opts(Audiodev *dev, { if (!pdo->has_latency) { pdo->has_latency = true; - pdo->latency = 15000; + pdo->latency = 46440; } return 1; } |