mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Improve introspection
Add instrospection of client and source-output. Add properties to source-output and to CreateSourceOutput/Input Add helper to fill properties of context. Add client-name to pinossrc and pinossink Improve test-subscribe to show all new introspection details.
This commit is contained in:
		
							parent
							
								
									85e09e7a5b
								
							
						
					
					
						commit
						13d846ec38
					
				
					 21 changed files with 684 additions and 72 deletions
				
			
		| 
						 | 
				
			
			@ -68,11 +68,12 @@ struct _PinosSourceClass {
 | 
			
		|||
 | 
			
		||||
  gboolean            (*set_state)  (PinosSource *source, PinosSourceState);
 | 
			
		||||
 | 
			
		||||
  PinosSourceOutput * (*create_source_output)  (PinosSource    *source,
 | 
			
		||||
                                                const gchar    *client_path,
 | 
			
		||||
                                                GBytes         *format_filter,
 | 
			
		||||
                                                const gchar    *prefix,
 | 
			
		||||
                                                GError         **error);
 | 
			
		||||
  PinosSourceOutput * (*create_source_output)  (PinosSource     *source,
 | 
			
		||||
                                                const gchar     *client_path,
 | 
			
		||||
                                                GBytes          *format_filter,
 | 
			
		||||
                                                PinosProperties *props,
 | 
			
		||||
                                                const gchar     *prefix,
 | 
			
		||||
                                                GError          **error);
 | 
			
		||||
  gboolean            (*release_source_output) (PinosSource       *source,
 | 
			
		||||
                                                PinosSourceOutput *output);
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -92,11 +93,12 @@ void                pinos_source_report_busy             (PinosSource *source);
 | 
			
		|||
 | 
			
		||||
void                pinos_source_update_possible_formats (PinosSource *source, GBytes *formats);
 | 
			
		||||
 | 
			
		||||
PinosSourceOutput * pinos_source_create_source_output    (PinosSource *source,
 | 
			
		||||
                                                          const gchar *client_path,
 | 
			
		||||
                                                          GBytes      *format_filter,
 | 
			
		||||
                                                          const gchar *prefix,
 | 
			
		||||
                                                          GError      **error);
 | 
			
		||||
PinosSourceOutput * pinos_source_create_source_output    (PinosSource     *source,
 | 
			
		||||
                                                          const gchar     *client_path,
 | 
			
		||||
                                                          GBytes          *format_filter,
 | 
			
		||||
                                                          PinosProperties *props,
 | 
			
		||||
                                                          const gchar     *prefix,
 | 
			
		||||
                                                          GError          **error);
 | 
			
		||||
gboolean            pinos_source_release_source_output   (PinosSource       *source,
 | 
			
		||||
                                                          PinosSourceOutput *output);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue