mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
node: Add ParamBegin/End
Use these commands to mark the begin and end of a series of Param enumerations and configuration, like when doing format negotiation. The idea is that the device can remain open while we do this. Use this in adapter when negotiating a format.
This commit is contained in:
parent
ccfe439786
commit
4e7be858e4
8 changed files with 55 additions and 10 deletions
|
|
@ -410,6 +410,9 @@ static int impl_send_command(void *object, const struct spa_command *command)
|
|||
stream_set_state(stream, PW_STREAM_STATE_STREAMING, NULL);
|
||||
}
|
||||
break;
|
||||
case SPA_NODE_COMMAND_ParamBegin:
|
||||
case SPA_NODE_COMMAND_ParamEnd:
|
||||
break;
|
||||
default:
|
||||
pw_log_warn(NAME" %p: unhandled node command %d", stream,
|
||||
SPA_NODE_COMMAND_ID(command));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue