mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	properties: pass PinosProperties around
Pass PinosProperties around instead of GVariant. This is much easier to deal with.
This commit is contained in:
		
							parent
							
								
									c77d7718a2
								
							
						
					
					
						commit
						31da833069
					
				
					 18 changed files with 248 additions and 120 deletions
				
			
		| 
						 | 
				
			
			@ -24,6 +24,7 @@
 | 
			
		|||
#include <glib-object.h>
 | 
			
		||||
 | 
			
		||||
#include <client/context.h>
 | 
			
		||||
#include <client/properties.h>
 | 
			
		||||
 | 
			
		||||
G_BEGIN_DECLS
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -57,13 +58,14 @@ typedef enum {
 | 
			
		|||
 * @state: the current state of the source
 | 
			
		||||
 * @formats: the supported formats
 | 
			
		||||
 *
 | 
			
		||||
 * The source information
 | 
			
		||||
 * The source information. Extra information can be added in later
 | 
			
		||||
 * versions.
 | 
			
		||||
 */
 | 
			
		||||
typedef struct {
 | 
			
		||||
  gpointer id;
 | 
			
		||||
  const char *source_path;
 | 
			
		||||
  const char *name;
 | 
			
		||||
  GVariant *properties;
 | 
			
		||||
  PinosProperties *properties;
 | 
			
		||||
  PinosSourceState state;
 | 
			
		||||
  GBytes *formats;
 | 
			
		||||
} PinosSourceInfo;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue