mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	channelmix: 1 channel MONO or FC should be handled the same.
They were handled the same, remove the wrong line to attempt to make them different.
This commit is contained in:
		
							parent
							
								
									7e5a0849f6
								
							
						
					
					
						commit
						22a210e798
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -169,11 +169,8 @@ static int make_matrix(struct channelmix *mix)
 | 
			
		|||
		else
 | 
			
		||||
			src_mask |= (1ULL << SPA_AUDIO_CHANNEL_FC);
 | 
			
		||||
	}
 | 
			
		||||
	if ((dst_mask & (1Ull << SPA_AUDIO_CHANNEL_MONO)) != 0) {
 | 
			
		||||
		if (mix->dst_chan == 1)
 | 
			
		||||
			dst_mask = 0;
 | 
			
		||||
	if ((dst_mask & (1Ull << SPA_AUDIO_CHANNEL_MONO)) != 0)
 | 
			
		||||
		dst_mask |= (1ULL << SPA_AUDIO_CHANNEL_FC);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* shift so that bit 0 is FL */
 | 
			
		||||
	src_mask >>= 3;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue