mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: send the command to the children
Send the command on the converter to all children as well. Reset the resampler when we are paused so that we don't end up with old data. Fixes #288
This commit is contained in:
parent
310ed89aad
commit
e59c4675a7
7 changed files with 26 additions and 3 deletions
|
|
@ -347,6 +347,8 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
|
|||
case SPA_NODE_COMMAND_Start:
|
||||
this->started = true;
|
||||
break;
|
||||
case SPA_NODE_COMMAND_Suspend:
|
||||
/* fallthrough */
|
||||
case SPA_NODE_COMMAND_Pause:
|
||||
this->started = false;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue