mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pcm: don't complain on Suspend
This commit is contained in:
parent
659152d392
commit
e10a74785c
2 changed files with 2 additions and 0 deletions
|
|
@ -237,6 +237,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
|
|||
if ((res = spa_alsa_start(this)) < 0)
|
||||
return res;
|
||||
break;
|
||||
case SPA_NODE_COMMAND_Suspend:
|
||||
case SPA_NODE_COMMAND_Pause:
|
||||
if ((res = spa_alsa_pause(this)) < 0)
|
||||
return res;
|
||||
|
|
|
|||
|
|
@ -238,6 +238,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
|
|||
return res;
|
||||
break;
|
||||
case SPA_NODE_COMMAND_Pause:
|
||||
case SPA_NODE_COMMAND_Suspend:
|
||||
if ((res = spa_alsa_pause(this)) < 0)
|
||||
return res;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue