mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
stream: add some debug for commands
This commit is contained in:
parent
32c7121e54
commit
b6059fd007
1 changed files with 5 additions and 1 deletions
|
|
@ -528,8 +528,12 @@ static int impl_send_command(void *object, const struct spa_command *command)
|
|||
{
|
||||
struct stream *impl = object;
|
||||
struct pw_stream *stream = &impl->this;
|
||||
uint32_t id = SPA_NODE_COMMAND_ID(command);
|
||||
|
||||
switch (SPA_NODE_COMMAND_ID(command)) {
|
||||
pw_log_info("%p: command %s", impl,
|
||||
spa_debug_type_find_name(spa_type_node_command_id, id));
|
||||
|
||||
switch (id) {
|
||||
case SPA_NODE_COMMAND_Suspend:
|
||||
case SPA_NODE_COMMAND_Flush:
|
||||
case SPA_NODE_COMMAND_Pause:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue