mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-17 06:46:24 -04:00
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:
parent
e490c503fd
commit
35cbd2e56a
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue