mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	mixer: Move floatmix to the audio mixer plugin
Move floatmix to the audiomixer plugin and change the name to AUDIO_MIXER_DSP. Add runtime selectable sse and sse2 optimizations. Load the port mixer plugin dynamically based on the factory_name. Add some more debug
This commit is contained in:
		
							parent
							
								
									27eabede35
								
							
						
					
					
						commit
						0ecbe4844e
					
				
					 13 changed files with 482 additions and 404 deletions
				
			
		| 
						 | 
				
			
			@ -27,6 +27,7 @@
 | 
			
		|||
#include <spa/support/plugin.h>
 | 
			
		||||
 | 
			
		||||
extern const struct spa_handle_factory spa_audiomixer_factory;
 | 
			
		||||
extern const struct spa_handle_factory spa_mixer_dsp_factory;
 | 
			
		||||
 | 
			
		||||
SPA_EXPORT
 | 
			
		||||
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
 | 
			
		||||
| 
						 | 
				
			
			@ -38,6 +39,9 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
 | 
			
		|||
	case 0:
 | 
			
		||||
		*factory = &spa_audiomixer_factory;
 | 
			
		||||
		break;
 | 
			
		||||
	case 1:
 | 
			
		||||
		*factory = &spa_mixer_dsp_factory;
 | 
			
		||||
		break;
 | 
			
		||||
	default:
 | 
			
		||||
		return 0;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue