mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	filter-chain: add more default LADSPA search paths
Add /usr/lib/ladspa and LIBDIR to the default search path as well.
This commit is contained in:
		
							parent
							
								
									8ab70d02dc
								
							
						
					
					
						commit
						f6e76f8356
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -22,6 +22,8 @@
 | 
			
		|||
 * DEALINGS IN THE SOFTWARE.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "config.h"
 | 
			
		||||
 | 
			
		||||
#include <dlfcn.h>
 | 
			
		||||
#include <math.h>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -238,7 +240,7 @@ struct fc_plugin *load_ladspa_plugin(const struct spa_support *support, uint32_t
 | 
			
		|||
 | 
			
		||||
		search_dirs = getenv("LADSPA_PATH");
 | 
			
		||||
		if (!search_dirs)
 | 
			
		||||
			search_dirs = "/usr/lib64/ladspa";
 | 
			
		||||
			search_dirs = "/usr/lib64/ladspa:/usr/lib/ladspa:" LIBDIR;
 | 
			
		||||
 | 
			
		||||
		/*
 | 
			
		||||
		 * set the errno for the case when `ladspa_handle_load_by_path()`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue