mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	More type cleanups
SPA_ID_* -> SPA_TYPE_*. We use 'type' for all registered types. ID refers to either a registered type or an enum. Improve introspection of object ids. Make 0 an invalid enum and use it to look up the object id type. Move some type-info files together. Swap type and id of the object, we first specify the type and then the id because the meaning of the id depends on the object type.
This commit is contained in:
		
							parent
							
								
									281b65934e
								
							
						
					
					
						commit
						90c1a95eef
					
				
					 117 changed files with 1198 additions and 1272 deletions
				
			
		| 
						 | 
				
			
			@ -125,7 +125,7 @@ static int module_init(struct pw_module *module, struct pw_properties *propertie
 | 
			
		|||
 | 
			
		||||
	factory = pw_factory_new(core,
 | 
			
		||||
				 "client-node",
 | 
			
		||||
				 PW_ID_INTERFACE_ClientNode,
 | 
			
		||||
				 PW_TYPE_INTERFACE_ClientNode,
 | 
			
		||||
				 PW_VERSION_CLIENT_NODE,
 | 
			
		||||
				 NULL,
 | 
			
		||||
				 sizeof(*data));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue