From d27d4121a0de41381df4f045412a41b14c7ec14c Mon Sep 17 00:00:00 2001
From: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Date: Thu, 9 Sep 2021 17:33:46 +0200
Subject: [PATCH 1/2] deamon-conf: disable volume-flat

disbale volume flat to avoid side effect with gstreamer. If enable
sink volume is increased when gstreamer requests to increase
sink-input volume. But when gst requests to decrease the sink-input volume.
sink-volume is not updated. This lead to clipping because sink volume
is stored with value more than 100%.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
---
 src/daemon/daemon.conf.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in
index 7409976..9004c8b 100644
--- a/src/daemon/daemon.conf.in
+++ b/src/daemon/daemon.conf.in
@@ -61,7 +61,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
 ; remixing-consume-lfe = no
 ; lfe-crossover-freq = 0
 
-; flat-volumes = no
+flat-volumes = no
 
 ; rescue-streams = yes
 
-- 
2.25.1

