From 35cbd2e56ad091b6dc8712b3a711598ada53e4be Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 15 Apr 2026 16:40:35 +0200 Subject: [PATCH] audioconvert: don't setup again in suspend Remove the fallthrough in suspend, we don't want to do the setup that we do in the paused mode, just reset the node and unset the started state. --- spa/plugins/audioconvert/audioconvert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spa/plugins/audioconvert/audioconvert.c b/spa/plugins/audioconvert/audioconvert.c index 967587c14..d1b5cd683 100644 --- a/spa/plugins/audioconvert/audioconvert.c +++ b/spa/plugins/audioconvert/audioconvert.c @@ -2642,7 +2642,8 @@ static int impl_node_send_command(void *object, const struct spa_command *comman break; case SPA_NODE_COMMAND_Suspend: reset_node(this); - SPA_FALLTHROUGH; + this->started = false; + break; case SPA_NODE_COMMAND_Pause: if ((res = setup_convert(this)) < 0) return res;