[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] daemon-conf: disable flat-volumes by default

Arun Raghavan gitlab at gitlab.freedesktop.org
Tue Sep 24 02:24:57 UTC 2019



Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
ba73faa4 by Tanu Kaskinen at 2019-09-23T04:48:48Z
daemon-conf: disable flat-volumes by default

Almost all distributions patch the configuration to disable
flat-volumes, because users tend to find the concept confusing (and it
also causes nasty surprises when some application pushes the volume to
100%). Let's remove the need for patching and disable the feature by
default.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/691

- - - - -


3 changed files:

- man/pulse-daemon.conf.5.xml.in
- src/daemon/daemon-conf.c
- src/daemon/daemon.conf.in


Changes:

=====================================
man/pulse-daemon.conf.5.xml.in
=====================================
@@ -237,7 +237,7 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
       <p><opt>flat-volumes=</opt> Enable 'flat' volumes, i.e. where
       possible let the sink volume equal the maximum of the volumes of
       the inputs connected to it. Takes a boolean argument, defaults
-      to <opt>yes</opt>.</p>
+      to <opt>no</opt>.</p>
     </option>
 
   </section>


=====================================
src/daemon/daemon-conf.c
=====================================
@@ -68,7 +68,7 @@ static const pa_daemon_conf default_conf = {
     .realtime_priority = 5,  /* Half of JACK's default rtprio */
     .disallow_module_loading = false,
     .disallow_exit = false,
-    .flat_volumes = true,
+    .flat_volumes = false,
     .exit_idle_time = 20,
     .scache_idle_time = 20,
     .script_commands = NULL,


=====================================
src/daemon/daemon.conf.in
=====================================
@@ -60,7 +60,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
 ; enable-lfe-remixing = no
 ; lfe-crossover-freq = 0
 
-; flat-volumes = yes
+; flat-volumes = no
 
 ifelse(@HAVE_SYS_RESOURCE_H@, 1, [dnl
 ; rlimit-fsize = -1



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/ba73faa4c05717d74fbfd17e8175731e60d8841d

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/ba73faa4c05717d74fbfd17e8175731e60d8841d
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20190924/f467ef8e/attachment.html>


More information about the pulseaudio-commits mailing list