mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa/support: implement ARM CPU detection
Code is based on PulseAudio's implementation, originally written by Wim
This commit is contained in:
		
							parent
							
								
									d9c2f77cfe
								
							
						
					
					
						commit
						4be52f16bd
					
				
					 2 changed files with 126 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -51,6 +51,9 @@ struct impl {
 | 
			
		|||
# if defined (__i386__) || defined (__x86_64__)
 | 
			
		||||
#include "cpu-x86.c"
 | 
			
		||||
#define init(t)	x86_init(t)
 | 
			
		||||
# elif defined (__arm__) || defined (__aarch64__)
 | 
			
		||||
#include "cpu-arm.c"
 | 
			
		||||
#define init(t)	arm_init(t)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
static uint32_t
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue