mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	core: remove create-link
Make a link factory and use create-object to make links. That way we can have different kinds of links based on the factory and we can also hide the factory when link creation should be blocked.
This commit is contained in:
		
							parent
							
								
									f1345f91a8
								
							
						
					
					
						commit
						67b06d4ad2
					
				
					 7 changed files with 250 additions and 244 deletions
				
			
		| 
						 | 
				
			
			@ -48,6 +48,16 @@ pipewire_module_client_node = shared_library('pipewire-module-client-node',
 | 
			
		|||
  dependencies : [mathlib, dl_lib, pipewire_dep],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
pipewire_module_link_factory = shared_library('pipewire-module-link-factory',
 | 
			
		||||
  [ 'module-link-factory.c' ],
 | 
			
		||||
  c_args : pipewire_module_c_args,
 | 
			
		||||
  include_directories : [configinc, spa_inc],
 | 
			
		||||
  link_with : spalib,
 | 
			
		||||
  install : true,
 | 
			
		||||
  install_dir : modules_install_dir,
 | 
			
		||||
  dependencies : [mathlib, dl_lib, pipewire_dep],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
#pipewire_module_protocol_dbus = shared_library('pipewire-module-protocol-dbus', [ 'module-protocol-dbus.c', gdbus_target ],
 | 
			
		||||
#  c_args : pipewire_module_c_args,
 | 
			
		||||
#  include_directories : [configinc, spa_inc],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue