mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Fix FLC+FRC to FL+FR
This commit is contained in:
		
							parent
							
								
									df3394a694
								
							
						
					
					
						commit
						700a0aa35c
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -330,8 +330,9 @@ static int make_matrix(struct channelmix *mix)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (unassigned & _MASK(FLC)) {
 | 
						if (unassigned & _MASK(FLC)) {
 | 
				
			||||||
		if (dst_mask & _MASK(FL)) {
 | 
							if (dst_mask & _MASK(FL)) {
 | 
				
			||||||
			matrix[FC][FLC]+= 1.0f;
 | 
								spa_log_debug(mix->log, "assign FLC+FRC to FL+FR");
 | 
				
			||||||
			matrix[FC][FRC]+= 1.0f;
 | 
								matrix[FL][FLC]+= 1.0f;
 | 
				
			||||||
 | 
								matrix[FR][FRC]+= 1.0f;
 | 
				
			||||||
		} else if(dst_mask & _MASK(FC)) {
 | 
							} else if(dst_mask & _MASK(FC)) {
 | 
				
			||||||
			spa_log_debug(mix->log, "assign FLC+FRC to FC");
 | 
								spa_log_debug(mix->log, "assign FLC+FRC to FC");
 | 
				
			||||||
			matrix[FC][FLC]+= SQRT1_2;
 | 
								matrix[FC][FLC]+= SQRT1_2;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue