mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	protocol-native: improve bool in set_active
This commit is contained in:
		
							parent
							
								
									33102abe4d
								
							
						
					
					
						commit
						77cc58ba71
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1021,7 +1021,7 @@ static int client_node_demarshal_set_active(void *object, const struct pw_protoc
 | 
			
		|||
				SPA_POD_Bool(&active)) < 0)
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
 | 
			
		||||
	pw_resource_notify(resource, struct pw_client_node_methods, set_active, 0, active);
 | 
			
		||||
	pw_resource_notify(resource, struct pw_client_node_methods, set_active, 0, active ? true : false);
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue