mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	remove unused functions
This commit is contained in:
		
							parent
							
								
									95727d3b01
								
							
						
					
					
						commit
						095e69882e
					
				
					 4 changed files with 1 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -152,16 +152,6 @@ static const struct pw_global_events global_events = {
 | 
			
		|||
	.bind = global_bind,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct pw_module * pw_core_find_module(struct pw_core *core, const char *filename)
 | 
			
		||||
{
 | 
			
		||||
	struct pw_module *module;
 | 
			
		||||
	spa_list_for_each(module, &core->module_list, link) {
 | 
			
		||||
                if (strcmp(module->info.filename, filename) == 0)
 | 
			
		||||
                        return module;
 | 
			
		||||
        }
 | 
			
		||||
	return NULL;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/** Load a module
 | 
			
		||||
 *
 | 
			
		||||
 * \param core a \ref pw_core
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -100,10 +100,6 @@ void pw_module_add_listener(struct pw_module *module,
 | 
			
		|||
/** Destroy a module */
 | 
			
		||||
void pw_module_destroy(struct pw_module *module);
 | 
			
		||||
 | 
			
		||||
/** Find a module by filename */
 | 
			
		||||
struct pw_module *
 | 
			
		||||
pw_core_find_module(struct pw_core *core, const char *filename);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -135,7 +135,7 @@ const char *pw_remote_state_as_string(enum pw_remote_state state)
 | 
			
		|||
	return "invalid-state";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
static int
 | 
			
		||||
pw_remote_update_state(struct pw_remote *remote, enum pw_remote_state state, const char *fmt, ...)
 | 
			
		||||
{
 | 
			
		||||
	enum pw_remote_state old = remote->state;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -200,9 +200,6 @@ struct pw_proxy *pw_remote_find_proxy(struct pw_remote *remote, uint32_t id);
 | 
			
		|||
/** Disconnect from the remote PipeWire. \memberof pw_remote */
 | 
			
		||||
int pw_remote_disconnect(struct pw_remote *remote);
 | 
			
		||||
 | 
			
		||||
/** Update the state of the remote, mostly used by protocols */
 | 
			
		||||
int pw_remote_update_state(struct pw_remote *remote, enum pw_remote_state state, const char *fmt, ...);
 | 
			
		||||
 | 
			
		||||
/** run a local node in a remote graph */
 | 
			
		||||
struct pw_proxy *pw_remote_export(struct pw_remote *remote, struct pw_node *node);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue