mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	remote: add get_properties method
This commit is contained in:
		
							parent
							
								
									0a8e6b5dba
								
							
						
					
					
						commit
						8882b2316e
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -317,6 +317,11 @@ struct pw_core *pw_remote_get_core(struct pw_remote *remote)
 | 
				
			||||||
	return remote->core;
 | 
						return remote->core;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const struct pw_properties *pw_remote_get_properties(struct pw_remote *remote)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						return remote->properties;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void *pw_remote_get_user_data(struct pw_remote *remote)
 | 
					void *pw_remote_get_user_data(struct pw_remote *remote)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	return remote->user_data;
 | 
						return remote->user_data;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -157,6 +157,9 @@ void pw_remote_destroy(struct pw_remote *remote);
 | 
				
			||||||
/** Get the core used to construct this remote */
 | 
					/** Get the core used to construct this remote */
 | 
				
			||||||
struct pw_core *pw_remote_get_core(struct pw_remote *remote);
 | 
					struct pw_core *pw_remote_get_core(struct pw_remote *remote);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** Get the remote properties */
 | 
				
			||||||
 | 
					const struct pw_properties *pw_remote_get_properties(struct pw_remote *remote);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** Get the user_data. The size was given in \ref pw_remote_new */
 | 
					/** Get the user_data. The size was given in \ref pw_remote_new */
 | 
				
			||||||
void *pw_remote_get_user_data(struct pw_remote *remote);
 | 
					void *pw_remote_get_user_data(struct pw_remote *remote);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue