mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	param: add Control param
A control param contains a set of timed events that are applied in the next cycle.
This commit is contained in:
		
							parent
							
								
									1404cb4182
								
							
						
					
					
						commit
						5ff970a62e
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -47,6 +47,7 @@ enum spa_param_type {
 | 
				
			||||||
	SPA_PARAM_PortConfig,		/**< port configuration as SPA_TYPE_OBJECT_ParamPortConfig */
 | 
						SPA_PARAM_PortConfig,		/**< port configuration as SPA_TYPE_OBJECT_ParamPortConfig */
 | 
				
			||||||
	SPA_PARAM_EnumRoute,		/**< routing enumeration as SPA_TYPE_OBJECT_ParamRoute */
 | 
						SPA_PARAM_EnumRoute,		/**< routing enumeration as SPA_TYPE_OBJECT_ParamRoute */
 | 
				
			||||||
	SPA_PARAM_Route,		/**< routing configuration as SPA_TYPE_OBJECT_ParamRoute */
 | 
						SPA_PARAM_Route,		/**< routing configuration as SPA_TYPE_OBJECT_ParamRoute */
 | 
				
			||||||
 | 
						SPA_PARAM_Control,		/**< Control parameter, a SPA_TYPE_Sequence */
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** information about a parameter */
 | 
					/** information about a parameter */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -51,6 +51,9 @@ static const struct spa_type_info spa_type_param[] = {
 | 
				
			||||||
	{ SPA_PARAM_Profile, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "Profile", NULL },
 | 
						{ SPA_PARAM_Profile, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "Profile", NULL },
 | 
				
			||||||
	{ SPA_PARAM_EnumPortConfig, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "EnumPortConfig", NULL },
 | 
						{ SPA_PARAM_EnumPortConfig, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "EnumPortConfig", NULL },
 | 
				
			||||||
	{ SPA_PARAM_PortConfig, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "PortConfig", NULL },
 | 
						{ SPA_PARAM_PortConfig, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "PortConfig", NULL },
 | 
				
			||||||
 | 
						{ SPA_PARAM_EnumRoute, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "EnumRoute", NULL },
 | 
				
			||||||
 | 
						{ SPA_PARAM_Route, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "Route", NULL },
 | 
				
			||||||
 | 
						{ SPA_PARAM_Control, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "Control", NULL },
 | 
				
			||||||
	{ 0, 0, NULL, NULL },
 | 
						{ 0, 0, NULL, NULL },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue