mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: aec: webrtc: Actually enable echo cancellation for 2.0
This commit is contained in:
		
							parent
							
								
									8ecdddeb04
								
							
						
					
					
						commit
						af7ce19919
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -191,6 +191,7 @@ static int webrtc_init2(void *object, const struct spa_dict *args,
 | 
			
		|||
	config.voice_detection.enabled = voice_detection;
 | 
			
		||||
#elif defined(HAVE_WEBRTC2)
 | 
			
		||||
	webrtc::AudioProcessing::Config config;
 | 
			
		||||
	config.echo_canceller.enabled = true;
 | 
			
		||||
	config.pipeline.multi_channel_capture = rec_info->channels > 1;
 | 
			
		||||
	config.pipeline.multi_channel_render = play_info->channels > 1;
 | 
			
		||||
	// FIXME: Example code enables both gain controllers, but that seems sus
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue