From 53681c93378637520ab3b5845278cf4d55611edb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 25 Jan 2023 16:43:41 +0100 Subject: [PATCH] client-rt: add rule for Davinci Resolve Davinci Resolve does not manage to figure out acceptable buffer size itself so help it a little with an override. Fixes #1697 --- src/daemon/client-rt.conf.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/daemon/client-rt.conf.in b/src/daemon/client-rt.conf.in index e1f47b556..b73a904e3 100644 --- a/src/daemon/client-rt.conf.in +++ b/src/daemon/client-rt.conf.in @@ -101,3 +101,14 @@ alsa.properties = { #alsa.buffer-bytes = 0 #alsa.volume-method = cubic # linear, cubic } + +# client specific properties +alsa.rules = [ + { matches = [ { application.process.binary = "resolve" } ] + actions = { + update-props = { + alsa.buffer-bytes = 131072 + } + } + } +]