mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	echo-cancel: Add SSE optimisation to the adrian module
Optimises the core inner-product function, which takes the most CPU. The SSE-optimised bits of the adrian echo canceller only if the CPU that PA is running on actually supports SSE.
This commit is contained in:
		
							parent
							
								
									ab4223e9cf
								
							
						
					
					
						commit
						963250abb9
					
				
					 7 changed files with 61 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -1398,7 +1398,7 @@ int pa__init(pa_module*m) {
 | 
			
		|||
    u->asyncmsgq = pa_asyncmsgq_new(0);
 | 
			
		||||
    u->need_realign = TRUE;
 | 
			
		||||
    if (u->ec->init) {
 | 
			
		||||
        if (!u->ec->init(u->ec, &source_ss, &source_map, &sink_ss, &sink_map, &u->blocksize, pa_modargs_get_value(ma, "aec_args", NULL))) {
 | 
			
		||||
        if (!u->ec->init(u->core, u->ec, &source_ss, &source_map, &sink_ss, &sink_map, &u->blocksize, pa_modargs_get_value(ma, "aec_args", NULL))) {
 | 
			
		||||
            pa_log("Failed to init AEC engine");
 | 
			
		||||
            goto fail;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue