From 414026bd363704f64e34d5d977a88ab83bd1323c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 25 Aug 2023 11:54:01 +0200 Subject: [PATCH] conf: add example empty stream.rules template --- src/daemon/client-rt.conf.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/daemon/client-rt.conf.in b/src/daemon/client-rt.conf.in index 59758dabf..e5bd0e161 100644 --- a/src/daemon/client-rt.conf.in +++ b/src/daemon/client-rt.conf.in @@ -94,6 +94,22 @@ stream.properties = { #dither.noise = 0 } +stream.rules = [ + { matches = [ + { + # all keys must match the value. ! negates. ~ starts regex. + #application.name = "pw-cat" + #node.name = "~Google Chrome$" + } + ] + actions = { + update-props = { + #node.latency = 512/48000 + } + } + } +] + alsa.properties = { # ALSA params take a single value, an array [] of values # or a range { min=.. max=... }