bluez5: handle suspend

This commit is contained in:
Wim Taymans 2020-07-03 16:23:17 +02:00
parent 7778f8d70e
commit 49332eb30f
3 changed files with 3 additions and 0 deletions

View file

@ -570,6 +570,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
if ((res = do_start(this)) < 0)
return res;
break;
case SPA_NODE_COMMAND_Suspend:
case SPA_NODE_COMMAND_Pause:
if ((res = do_stop(this)) < 0)
return res;

View file

@ -624,6 +624,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 = do_stop(this)) < 0)
return res;
break;

View file

@ -521,6 +521,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 = do_stop(this)) < 0)
return res;
break;