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.
This commit is contained in:
Wim Taymans 2026-04-15 16:40:35 +02:00
parent e490c503fd
commit 35cbd2e56a

View file

@ -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;