[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/15] paaudio: increase default latency to 46ms
From: |
Volker Rümelin |
Subject: |
[PATCH 05/15] paaudio: increase default latency to 46ms |
Date: |
Thu, 6 Jan 2022 10:23:22 +0100 |
From: Volker Rümelin <vr_qemu@t-online.de>
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>
---
audio/paaudio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/paaudio.c b/audio/paaudio.c
index 75401d5391..9df1e69c08 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;
}
--
2.31.1
- Re: [PATCH 01/15] audio: replace open-coded buffer arithmetic, (continued)
- [PATCH 04/15] audio: inline function audio_pcm_sw_get_rpos_in(), Volker Rümelin, 2022/01/06
- [PATCH 12/15] dsoundaudio: reduce effective playback buffer size, Volker Rümelin, 2022/01/06
- [PATCH 07/15] audio: copy playback stream in sequential order, Volker Rümelin, 2022/01/06
- [PATCH 02/15] audio: move function audio_pcm_hw_clip_out(), Volker Rümelin, 2022/01/06
- [PATCH 06/15] jackaudio: use more jack audio buffers, Volker Rümelin, 2022/01/06
- [PATCH 14/15] paaudio: fix samples vs. frames mix-up, Volker Rümelin, 2022/01/06
- [PATCH 10/15] audio: restore mixing-engine playback buffer size, Volker Rümelin, 2022/01/06
- [PATCH 05/15] paaudio: increase default latency to 46ms,
Volker Rümelin <=
- [PATCH 15/15] sdlaudio: fix samples vs. frames mix-up, Volker Rümelin, 2022/01/06
- [PATCH 03/15] audio: add function audio_pcm_hw_conv_in(), Volker Rümelin, 2022/01/06
- [PATCH 11/15] paaudio: reduce effective playback buffer size, Volker Rümelin, 2022/01/06
- Re: [PATCH 00/15] reduce audio playback latency, Christian Schoenebeck, 2022/01/09