fluid-fun: Adjust function signature to fluidsynth 2.0
This breaks compilation with FLUID_SHARED against <2.0 versions, which should be reasonable given that the default mode can still dynamically load both variants. Fixes #219.
This commit is contained in:
		
							parent
							
								
									43cb318862
								
							
						
					
					
						commit
						d4b9adc1d1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -19,7 +19,7 @@ typedef int (*FLUIDSYNTHPROGRAMCHANGEPROC)(fluid_synth_t* synth, int chan, int p
 | 
				
			||||||
typedef fluid_settings_t* (*NEWFLUIDSETTINGSPROC)(void);
 | 
					typedef fluid_settings_t* (*NEWFLUIDSETTINGSPROC)(void);
 | 
				
			||||||
typedef fluid_synth_t* (*NEWFLUIDSYNTHPROC)(fluid_settings_t* settings);
 | 
					typedef fluid_synth_t* (*NEWFLUIDSYNTHPROC)(fluid_settings_t* settings);
 | 
				
			||||||
typedef void (*DELETEFLUIDSETTINGSPROC)(fluid_settings_t* settings);
 | 
					typedef void (*DELETEFLUIDSETTINGSPROC)(fluid_settings_t* settings);
 | 
				
			||||||
typedef int (*DELETEFLUIDSYNTHPROC)(fluid_synth_t* synth);
 | 
					typedef void (*DELETEFLUIDSYNTHPROC)(fluid_synth_t* synth);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define FLUID_FUNCS \
 | 
					#define FLUID_FUNCS \
 | 
				
			||||||
	FLUID_FUN(settings_setnum, FLUIDSETTINGSSETNUMPROC) \
 | 
						FLUID_FUN(settings_setnum, FLUIDSETTINGSSETNUMPROC) \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue