mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: handle suspend
This commit is contained in:
		
							parent
							
								
									7778f8d70e
								
							
						
					
					
						commit
						49332eb30f
					
				
					 3 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue