mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	param: add classes to the PROFILE param
classes is an enumeration of class-name/count pairs to enumerate the kinds of classes and count that are created from this profile.
This commit is contained in:
		
							parent
							
								
									cab833ade7
								
							
						
					
					
						commit
						d22beb4d05
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -106,6 +106,11 @@ enum spa_param_profile {
 | 
				
			||||||
	SPA_PARAM_PROFILE_priority,	/**< profile priority (Int) */
 | 
						SPA_PARAM_PROFILE_priority,	/**< profile priority (Int) */
 | 
				
			||||||
	SPA_PARAM_PROFILE_available,	/**< availability of the profile
 | 
						SPA_PARAM_PROFILE_available,	/**< availability of the profile
 | 
				
			||||||
					  *  (Id enum spa_param_availability) */
 | 
										  *  (Id enum spa_param_availability) */
 | 
				
			||||||
 | 
						SPA_PARAM_PROFILE_classes,	/**< node classes provided by this profile
 | 
				
			||||||
 | 
										  *  (Struct(
 | 
				
			||||||
 | 
										  *        Struct(
 | 
				
			||||||
 | 
										  *           String : class name (eg. "Audio/Source"),
 | 
				
			||||||
 | 
										  *           Int : number of nodes)*)) */
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum spa_param_port_config_mode {
 | 
					enum spa_param_port_config_mode {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -288,6 +288,7 @@ static const struct spa_type_info spa_type_param_profile[] = {
 | 
				
			||||||
	{ SPA_PARAM_PROFILE_description, SPA_TYPE_String, SPA_TYPE_INFO_PARAM_PROFILE_BASE "description", NULL },
 | 
						{ SPA_PARAM_PROFILE_description, SPA_TYPE_String, SPA_TYPE_INFO_PARAM_PROFILE_BASE "description", NULL },
 | 
				
			||||||
	{ SPA_PARAM_PROFILE_priority, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_PROFILE_BASE "priority", NULL },
 | 
						{ SPA_PARAM_PROFILE_priority, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_PROFILE_BASE "priority", NULL },
 | 
				
			||||||
	{ SPA_PARAM_PROFILE_available, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_PROFILE_BASE "available", spa_type_param_availability, },
 | 
						{ SPA_PARAM_PROFILE_available, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_PROFILE_BASE "available", spa_type_param_availability, },
 | 
				
			||||||
 | 
						{ SPA_PARAM_PROFILE_classes, SPA_TYPE_Struct, SPA_TYPE_INFO_PARAM_PROFILE_BASE "classes", NULL, },
 | 
				
			||||||
	{ 0, 0, NULL, NULL },
 | 
						{ 0, 0, NULL, NULL },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue