diff --git a/0001-audioadapter-perform-setup-again-after-a-PortConfig.patch b/0001-audioadapter-perform-setup-again-after-a-PortConfig.patch deleted file mode 100644 index 60affa0..0000000 --- a/0001-audioadapter-perform-setup-again-after-a-PortConfig.patch +++ /dev/null @@ -1,34 +0,0 @@ -From bf3516ba0496b644b3944b114253f23964178897 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Tue, 15 Nov 2022 15:40:47 +0100 -Subject: [PATCH] audioadapter: perform setup again after a PortConfig - -After the ports are reconfigured, we need to perform the setup again so -that buffers and processing can happen with the right settings. - -This fixes an issue when autoswitching between A2DP and HFP with -bluetooth headsets when there is also a stereo capture device available. -The input stream of the browser is quickly reconfigured between stereo -and mono with only a Pause command in between, clearing the setup state -is enough to redo the setup when going back to Playing. - -Fixes #2764 ---- - spa/plugins/audioconvert/audioconvert.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/spa/plugins/audioconvert/audioconvert.c b/spa/plugins/audioconvert/audioconvert.c -index 6c7144d38..7fe62228f 100644 ---- a/spa/plugins/audioconvert/audioconvert.c -+++ b/spa/plugins/audioconvert/audioconvert.c -@@ -979,6 +979,7 @@ static int reconfigure_mode(struct impl *this, enum spa_param_port_config_mode m - } - - this->monitor = monitor; -+ this->setup = false; - dir->control = control; - dir->have_profile = true; - dir->mode = mode; --- -GitLab - diff --git a/0001-pulse-server-also-advance-read-pointer-in-underrun.patch b/0001-pulse-server-also-advance-read-pointer-in-underrun.patch deleted file mode 100644 index 3360b1e..0000000 --- a/0001-pulse-server-also-advance-read-pointer-in-underrun.patch +++ /dev/null @@ -1,36 +0,0 @@ -From b720da771efa950cf380101bed42d5d5ee177908 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Thu, 10 Nov 2022 16:13:33 +0100 -Subject: [PATCH] pulse-server: also advance read pointer in underrun - -So that we ask for more data from the client. - -Also retested with #2799 that caused this regression. - -Fixes #2821 ---- - src/modules/module-protocol-pulse/pulse-server.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c -index b18273e98..07f664ba1 100644 ---- a/src/modules/module-protocol-pulse/pulse-server.c -+++ b/src/modules/module-protocol-pulse/pulse-server.c -@@ -1433,10 +1433,11 @@ static void stream_process(void *data) - stream->buffer, MAXLENGTH, - index % MAXLENGTH, - p, avail); -- index += avail; -- pd.read_inc = avail; -- spa_ringbuffer_read_update(&stream->ring, index); - } -+ index += size; -+ pd.read_inc = size; -+ spa_ringbuffer_read_update(&stream->ring, index); -+ - pd.playing_for = size; - } - pw_log_debug("%p: [%s] underrun read:%u avail:%d max:%u", --- -2.38.1 - diff --git a/0002-audioconvert-redo-setup-when-format-changes.patch b/0002-audioconvert-redo-setup-when-format-changes.patch deleted file mode 100644 index ecc629f..0000000 --- a/0002-audioconvert-redo-setup-when-format-changes.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 086ad336ad1e29c6260251e287de8994397a7dc7 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Tue, 15 Nov 2022 16:29:46 +0100 -Subject: [PATCH] audioconvert: redo setup when format changes - ---- - spa/plugins/audioconvert/audioconvert.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/spa/plugins/audioconvert/audioconvert.c b/spa/plugins/audioconvert/audioconvert.c -index 7fe62228f..ba2ea4178 100644 ---- a/spa/plugins/audioconvert/audioconvert.c -+++ b/spa/plugins/audioconvert/audioconvert.c -@@ -1989,6 +1989,7 @@ static int port_set_format(void *object, - } - this->dir[direction].format = info; - this->dir[direction].have_format = true; -+ this->setup = false; - } - port->format = info; - port->have_format = true; --- -GitLab - diff --git a/0003-acp-do-probing-in-44100Hz-again.patch b/0003-acp-do-probing-in-44100Hz-again.patch deleted file mode 100644 index 574c9c7..0000000 --- a/0003-acp-do-probing-in-44100Hz-again.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 50a24ac69e491512b7ada0690be5973d5bffa024 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Tue, 15 Nov 2022 16:30:26 +0100 -Subject: [PATCH] acp: do probing in 44100 Hz again - -Some devices don't seem to work when probed in 48000 so bring it back -to 44100 until we figure out what is going on. - -Fixes #2718 ---- - spa/plugins/alsa/acp/acp.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/spa/plugins/alsa/acp/acp.c b/spa/plugins/alsa/acp/acp.c -index c49c9e088..4bbe5ee92 100644 ---- a/spa/plugins/alsa/acp/acp.c -+++ b/spa/plugins/alsa/acp/acp.c -@@ -34,6 +34,8 @@ void *_acp_log_data; - - struct spa_i18n *acp_i18n; - -+#define DEFAULT_RATE 44100 -+ - #define VOLUME_ACCURACY (PA_VOLUME_NORM/100) /* don't require volume adjustments to be perfectly correct. don't necessarily extend granularity in software unless the differences get greater than this level */ - - static const uint32_t channel_table[PA_CHANNEL_POSITION_MAX] = { -@@ -312,7 +314,7 @@ static int add_pro_profile(pa_card *impl, uint32_t index) - snd_pcm_uframes_t try_period_size, try_buffer_size; - - ss.format = PA_SAMPLE_S32LE; -- ss.rate = 48000; -+ ss.rate = DEFAULT_RATE; - ss.channels = 64; - - ap = pa_xnew0(pa_alsa_profile, 1); -@@ -1571,7 +1573,7 @@ struct acp_card *acp_card_new(uint32_t index, const struct acp_dict *props) - } - - impl->ucm.default_sample_spec.format = PA_SAMPLE_S16NE; -- impl->ucm.default_sample_spec.rate = 48000; -+ impl->ucm.default_sample_spec.rate = DEFAULT_RATE; - impl->ucm.default_sample_spec.channels = 2; - pa_channel_map_init_extend(&impl->ucm.default_channel_map, - impl->ucm.default_sample_spec.channels, PA_CHANNEL_MAP_ALSA); --- -GitLab - diff --git a/0004-alsa-force-playback-start-when-buffer-is-full.patch b/0004-alsa-force-playback-start-when-buffer-is-full.patch deleted file mode 100644 index e9fe3d3..0000000 --- a/0004-alsa-force-playback-start-when-buffer-is-full.patch +++ /dev/null @@ -1,30 +0,0 @@ -From b46d8a8c921a8da6883610ad4b68da95bf59b59e Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Wed, 16 Nov 2022 20:45:38 +0100 -Subject: [PATCH] alsa: force playback start when buffer is full - -When we try to play data but the ringbuffer is full, we need to start -the device or else we will stay in this situation forever and stay -silent. - -Fixes #2830 ---- - spa/plugins/alsa/alsa-pcm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c -index fed56e7bb..5e0a60b37 100644 ---- a/spa/plugins/alsa/alsa-pcm.c -+++ b/spa/plugins/alsa/alsa-pcm.c -@@ -2128,7 +2128,7 @@ again: - - state->sample_count += total_written; - -- if (SPA_UNLIKELY(!state->alsa_started && total_written > 0)) -+ if (SPA_UNLIKELY(!state->alsa_started && (total_written > 0 || frames == 0))) - do_start(state); - - return 0; --- -GitLab - diff --git a/_service b/_service index b75566f..bd057f8 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ git https://gitlab.freedesktop.org/pipewire/pipewire.git - refs/tags/0.3.60 + refs/tags/0.3.61 @PARENT_TAG@