mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	main: hook up cpu detection code
Add CPU detection code to activate the various optimisations. Move some method definitions around. Use compatibility macros when we can.
This commit is contained in:
		
							parent
							
								
									a83f5524fb
								
							
						
					
					
						commit
						563cb2dea9
					
				
					 4 changed files with 20 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -95,6 +95,7 @@
 | 
			
		|||
#ifdef HAVE_DBUS
 | 
			
		||||
#include <pulsecore/dbus-shared.h>
 | 
			
		||||
#endif
 | 
			
		||||
#include <pulsecore/cpu-x86.h>
 | 
			
		||||
 | 
			
		||||
#include "cmdline.h"
 | 
			
		||||
#include "cpulimit.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -821,8 +822,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
 | 
			
		||||
    pa_memtrap_install();
 | 
			
		||||
 | 
			
		||||
    pa_volume_func_init_mmx();
 | 
			
		||||
    pa_volume_func_init_sse();
 | 
			
		||||
    pa_cpu_init_x86();
 | 
			
		||||
 | 
			
		||||
    pa_assert_se(mainloop = pa_mainloop_new());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue