mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	fmtconvert: improve channel debug names
This commit is contained in:
		
							parent
							
								
									e142e40cfe
								
							
						
					
					
						commit
						8825a21e86
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
					@ -178,9 +178,12 @@ static int setup_convert(struct impl *this)
 | 
				
			||||||
			    outformat.info.raw.position[j])
 | 
								    outformat.info.raw.position[j])
 | 
				
			||||||
				continue;
 | 
									continue;
 | 
				
			||||||
			this->remap[i] = j;
 | 
								this->remap[i] = j;
 | 
				
			||||||
			spa_log_debug(this->log, NAME " %p: channel %d -> %d (%d -> %d)", this,
 | 
								spa_log_debug(this->log, NAME " %p: channel %d -> %d (%s -> %s)", this,
 | 
				
			||||||
					i, j, informat.info.raw.position[i],
 | 
										i, j,
 | 
				
			||||||
					outformat.info.raw.position[j]);
 | 
										spa_debug_type_find_short_name(spa_type_audio_channel,
 | 
				
			||||||
 | 
											informat.info.raw.position[i]),
 | 
				
			||||||
 | 
										spa_debug_type_find_short_name(spa_type_audio_channel,
 | 
				
			||||||
 | 
											outformat.info.raw.position[i]));
 | 
				
			||||||
			outformat.info.raw.position[j] = -1;
 | 
								outformat.info.raw.position[j] = -1;
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue