mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	improve some debug
This commit is contained in:
		
							parent
							
								
									8a562c4427
								
							
						
					
					
						commit
						132ee30930
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -392,6 +392,7 @@ static int negotiate_format(struct impl *impl)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	spa_pod_fixate(format);
 | 
						spa_pod_fixate(format);
 | 
				
			||||||
 | 
						if (pw_log_level_enabled(SPA_LOG_LEVEL_DEBUG))
 | 
				
			||||||
		spa_debug_format(0, NULL, format);
 | 
							spa_debug_format(0, NULL, format);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((res = spa_node_port_set_param(impl->adapter_mix,
 | 
						if ((res = spa_node_port_set_param(impl->adapter_mix,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -286,7 +286,7 @@ static void core_destroy(void *object, uint32_t id)
 | 
				
			||||||
	struct pw_client *client = resource->client;
 | 
						struct pw_client *client = resource->client;
 | 
				
			||||||
	struct pw_resource *r;
 | 
						struct pw_resource *r;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_log_debug("core %p: destroy %d from resource %p", resource->core, id, resource);
 | 
						pw_log_debug("core %p: destroy resource %d from client %p", resource->core, id, client);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((r = pw_client_find_resource(client, id)) == NULL)
 | 
						if ((r = pw_client_find_resource(client, id)) == NULL)
 | 
				
			||||||
		goto no_resource;
 | 
							goto no_resource;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue