mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
testsrc: implement suspend
This commit is contained in:
parent
04b1881211
commit
90968bbb40
2 changed files with 2 additions and 0 deletions
|
|
@ -426,6 +426,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
|
|||
set_timer(this, true);
|
||||
break;
|
||||
}
|
||||
case SPA_NODE_COMMAND_Suspend:
|
||||
case SPA_NODE_COMMAND_Pause:
|
||||
if (!port->have_format)
|
||||
return -EIO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue