testsrc: implement suspend

This commit is contained in:
Wim Taymans 2020-02-21 16:24:41 +01:00
parent 04b1881211
commit 90968bbb40
2 changed files with 2 additions and 0 deletions

View file

@ -377,6 +377,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;