exit-idle-time = 4 (#1510301)
This commit is contained in:
parent
67a74732bc
commit
95d5f4a3f1
24
pulseaudio-11.1-exit_idle_time.patch
Normal file
24
pulseaudio-11.1-exit_idle_time.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -up pulseaudio-11.1/src/daemon/daemon-conf.c.idletime pulseaudio-11.1/src/daemon/daemon-conf.c
|
||||
--- pulseaudio-11.1/src/daemon/daemon-conf.c.idletime 2018-01-08 11:01:12.876616847 -0600
|
||||
+++ pulseaudio-11.1/src/daemon/daemon-conf.c 2018-01-08 11:06:33.847102687 -0600
|
||||
@@ -69,7 +69,7 @@ static const pa_daemon_conf default_conf
|
||||
.disallow_module_loading = false,
|
||||
.disallow_exit = false,
|
||||
.flat_volumes = false,
|
||||
- .exit_idle_time = 20,
|
||||
+ .exit_idle_time = 4,
|
||||
.scache_idle_time = 20,
|
||||
.script_commands = NULL,
|
||||
.dl_search_path = NULL,
|
||||
diff -up pulseaudio-11.1/src/daemon/daemon.conf.in.idletime pulseaudio-11.1/src/daemon/daemon.conf.in
|
||||
--- pulseaudio-11.1/src/daemon/daemon.conf.in.idletime 2018-01-08 11:01:12.876616847 -0600
|
||||
+++ pulseaudio-11.1/src/daemon/daemon.conf.in 2018-01-08 11:04:52.309999961 -0600
|
||||
@@ -39,7 +39,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
|
||||
; realtime-scheduling = yes
|
||||
; realtime-priority = 5
|
||||
|
||||
-; exit-idle-time = 20
|
||||
+; exit-idle-time = 4
|
||||
; scache-idle-time = 20
|
||||
|
||||
; dl-search-path = (depends on architecture)
|
||||
@ -30,7 +30,7 @@
|
||||
Name: pulseaudio
|
||||
Summary: Improved Linux Sound Server
|
||||
Version: %{pa_major}%{?pa_minor:.%{pa_minor}}
|
||||
Release: 7%{?snap:.%{snap}git%{shortcommit}}%{?dist}
|
||||
Release: 8%{?snap:.%{snap}git%{shortcommit}}%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://www.freedesktop.org/wiki/Software/PulseAudio
|
||||
%if 0%{?gitrel}
|
||||
@ -48,15 +48,19 @@ Source5: default.pa-for-gdm
|
||||
# revert upstream commit to rely solely on autospawn for autostart, instead
|
||||
# include a fallback to manual launch when autospawn fails, like when
|
||||
# user disables autospawn, or logging in as root
|
||||
Patch1: pulseaudio-autostart.patch
|
||||
Patch201: pulseaudio-autostart.patch
|
||||
|
||||
# disable flat-volumes by default
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1265267
|
||||
Patch2: pulseaudio-9.0-disable_flat_volumes.patch
|
||||
Patch202: pulseaudio-9.0-disable_flat_volumes.patch
|
||||
|
||||
# bz#1067470, only start threads on activ CPUs
|
||||
# see also https://bugs.freedesktop.org/show_bug.cgi?id=96638
|
||||
Patch3: pulseaudio-8.99.2-getaffinity.patch
|
||||
Patch203: pulseaudio-8.99.2-getaffinity.patch
|
||||
|
||||
# reduce exit-idle-time 20 -> 4
|
||||
# to mitigate http://bugzilla.redhat.com/1510301
|
||||
Patch204: pulseaudio-11.1-exit_idle_time.patch
|
||||
|
||||
## upstream patches
|
||||
Patch4: 0004-alsa-mixer-Add-support-for-usb-audio-in-the-Dell-doc.patch
|
||||
@ -283,9 +287,10 @@ This package contains GDM integration hooks for the PulseAudio sound server.
|
||||
%endif
|
||||
%patch106 -p1
|
||||
|
||||
%patch1 -p1 -b .autostart
|
||||
%patch2 -p1 -b .disable_flat_volumes
|
||||
%patch3 -p1 -b .affinity
|
||||
%patch201 -p1 -b .autostart
|
||||
%patch202 -p1 -b .disable_flat_volumes
|
||||
%patch203 -p1 -b .affinity
|
||||
%patch204 -p1 -b .exit_idle_time
|
||||
|
||||
sed -i.no_consolekit -e \
|
||||
's/^load-module module-console-kit/#load-module module-console-kit/' \
|
||||
@ -626,6 +631,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 11.1-8
|
||||
- exit-idle-time = 4 (#1510301)
|
||||
|
||||
* Mon Dec 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 11.1-7
|
||||
- backport 'pa_sink_input_assert_ref()' crashfix (#1472285)
|
||||
- --disable-tcpwrap on f28+ (#1518777)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user