mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	fix compilation some more
The math M_*f symbols are GNU extensions.
This commit is contained in:
		
							parent
							
								
									69251948ee
								
							
						
					
					
						commit
						f7d59bcea7
					
				
					 10 changed files with 22 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@
 | 
			
		|||
#include <pipewire/pipewire.h>
 | 
			
		||||
#include <pipewire/filter.h>
 | 
			
		||||
 | 
			
		||||
#define M_PI_M2f ( M_PIf + M_PIf )
 | 
			
		||||
#define M_PI_M2f (float)(M_PI+M_PI)
 | 
			
		||||
 | 
			
		||||
#define DEFAULT_RATE		44100
 | 
			
		||||
#define DEFAULT_FREQ		440
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
 | 
			
		||||
#include <pipewire/pipewire.h>
 | 
			
		||||
 | 
			
		||||
#define M_PI_M2f ( M_PIf + M_PIf )
 | 
			
		||||
#define M_PI_M2f (float)(M_PI+M_PI)
 | 
			
		||||
 | 
			
		||||
#define DEFAULT_RATE		44100
 | 
			
		||||
#define DEFAULT_CHANNELS	2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,7 +29,7 @@
 | 
			
		|||
 | 
			
		||||
#include "sdl.h"
 | 
			
		||||
 | 
			
		||||
#define M_PI_M2f ( M_PIf + M_PIf )
 | 
			
		||||
#define M_PI_M2f (float)(M_PI+M_PI)
 | 
			
		||||
 | 
			
		||||
#define MAX_BUFFERS	64
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,7 +23,7 @@
 | 
			
		|||
 | 
			
		||||
#include <pipewire/pipewire.h>
 | 
			
		||||
 | 
			
		||||
#define M_PI_M2f ( M_PIf + M_PIf )
 | 
			
		||||
#define M_PI_M2f (float)(M_PI + M_PI)
 | 
			
		||||
 | 
			
		||||
#define BUFFER_SAMPLES	128
 | 
			
		||||
#define MAX_BUFFERS	32
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue