diff --git a/.gitignore b/.gitignore index 6119d0e..cab9698 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /pulseaudio-*.tar.xz.md5 /pulseaudio-*.tar.xz.sha1 /pulseaudio-12.2.tar.xz.sha256 +/pulseaudio-12.99.1.tar.xz.sha256 diff --git a/0001-alsa-sink-clear-pollfd-revents-before-poll.patch b/0001-alsa-sink-clear-pollfd-revents-before-poll.patch deleted file mode 100644 index 5f91786..0000000 --- a/0001-alsa-sink-clear-pollfd-revents-before-poll.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 0b3c52341d1d8d098f315302d6d3e1c40965493f Mon Sep 17 00:00:00 2001 -From: Kai Vehmanen -Date: Wed, 3 Jul 2019 17:09:51 +0300 -Subject: [PATCH] alsa-sink: clear pollfd revents before poll - -Always clear revents before calling snd_pcm_poll_descriptors_revents() -as the ALSA function will not clear out existing events. - -Without this, playback restart fails in the following -scenario: - -1. single stream PCM playback ongoing -2. system put to system suspend (S3), ALSA sink suspended -3. system resumes, ALSA sink restarted -4. upon first alsa-sink thread_func iteration, rtpoll - revents still hass POLLERR bits set (due to the suspend) -5. execution goes to pa_alsa_recover_from_poll() -6. snd_pcm_drop() is called and PCM is restarted -7. process loops from (4) and playback is never recovered - -Signed-off-by: Kai Vehmanen ---- - src/modules/alsa/alsa-sink.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c -index 4568a19c5..d96f19398 100644 ---- a/src/modules/alsa/alsa-sink.c -+++ b/src/modules/alsa/alsa-sink.c -@@ -1915,6 +1915,7 @@ static void thread_func(void *userdata) { - unsigned n; - - pollfd = pa_rtpoll_item_get_pollfd(u->alsa_rtpoll_item, &n); -+ pollfd->revents = 0; - - if ((err = snd_pcm_poll_descriptors_revents(u->pcm_handle, pollfd, n, &revents)) < 0) { - pa_log("snd_pcm_poll_descriptors_revents() failed: %s", pa_alsa_strerror(err)); --- -2.21.0 - diff --git a/0008-set-exit_idle_time-to-0-when-we-detect-a-session.patch b/0008-set-exit_idle_time-to-0-when-we-detect-a-session.patch deleted file mode 100644 index 045ab55..0000000 --- a/0008-set-exit_idle_time-to-0-when-we-detect-a-session.patch +++ /dev/null @@ -1,181 +0,0 @@ -From de705a0eeaa27a8ac1abdc2625e639340323595a Mon Sep 17 00:00:00 2001 -From: Tanu Kaskinen -Date: Tue, 6 Mar 2018 15:09:06 +0200 -Subject: [PATCH 08/77] set exit_idle_time to 0 when we detect a session - -As the comments explain, this fixes relogin problems on some systems -that remove our sockets on logout without terminating the daemon. ---- - man/pulse-daemon.conf.5.xml.in | 15 ++++++++++++--- - man/pulseaudio.1.xml.in | 17 +++++++++++++++-- - src/modules/module-console-kit.c | 13 +++++++++++++ - src/modules/module-systemd-login.c | 14 ++++++++++++++ - src/modules/x11/module-x11-xsmp.c | 13 +++++++++++++ - src/pulsecore/core.c | 10 ++++++++++ - src/pulsecore/core.h | 2 ++ - 7 files changed, 79 insertions(+), 5 deletions(-) - -diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in -index f0550f3b..f49fa9b0 100644 ---- a/man/pulse-daemon.conf.5.xml.in -+++ b/man/pulse-daemon.conf.5.xml.in -@@ -292,9 +292,18 @@ License along with PulseAudio; if not, see . - - -