From 3ee4c5cca2c5f840e354b8bcd82e4ab10b1a6e82 Mon Sep 17 00:00:00 2001 From: columbarius Date: Thu, 9 Sep 2021 17:30:23 +0200 Subject: [PATCH] screencast: bump the prefered amount of pipewire buffers to 4 This tells pipewire, we prefere to use 4 pw_buffers in the pipe. This should remove most "out of buffer" occourences. --- include/pipewire_screencast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pipewire_screencast.h b/include/pipewire_screencast.h index 9f3e012..58c1607 100644 --- a/include/pipewire_screencast.h +++ b/include/pipewire_screencast.h @@ -3,7 +3,7 @@ #include "screencast_common.h" -#define XDPW_PWR_BUFFERS 1 +#define XDPW_PWR_BUFFERS 4 #define XDPW_PWR_ALIGN 16 void xdpw_pwr_trigger_process(struct xdpw_screencast_instance *cast);