mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audioconvert: improve debug
This commit is contained in:
		
							parent
							
								
									e6c42d3324
								
							
						
					
					
						commit
						5858c992ef
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -187,7 +187,8 @@ static int init_port(struct impl *this, enum spa_direction direction, uint32_t p
 | 
				
			||||||
	port->format.info.raw.position[0] = position;
 | 
						port->format.info.raw.position[0] = position;
 | 
				
			||||||
	spa_list_init(&port->queue);
 | 
						spa_list_init(&port->queue);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	spa_log_debug(this->log, NAME " %p: add port %d", this, port_id);
 | 
						spa_log_debug(this->log, NAME " %p: add port %d rate:%d position:%s",
 | 
				
			||||||
 | 
								this, port_id, rate, port->position);
 | 
				
			||||||
	emit_port_info(this, port, true);
 | 
						emit_port_info(this, port, true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -182,7 +182,8 @@ static int init_port(struct impl *this, enum spa_direction direction,
 | 
				
			||||||
	port->format.info.raw.channels = 1;
 | 
						port->format.info.raw.channels = 1;
 | 
				
			||||||
	port->format.info.raw.position[0] = position;
 | 
						port->format.info.raw.position[0] = position;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	spa_log_debug(this->log, NAME " %p: init port %d %s", this, port_id, port->position);
 | 
						spa_log_debug(this->log, NAME " %p: init port %d rate:%d position:%s",
 | 
				
			||||||
 | 
								this, port_id, rate, port->position);
 | 
				
			||||||
	emit_port_info(this, port, true);
 | 
						emit_port_info(this, port, true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue