mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	System: More work on making system functions pluggable
Move the epoll functions to the system functions and make the loop use those. Use simple mask for events instead of enum. Add the used system api in pw_loop. Add System API to spa_support and use it where possible. Pass the system API used in the realtime loops in spa_support as well and use this in the realtime paths. Improve bootstrapping, load only the log and cpu interfaces because those can/need to be shared between instances. Let the core load the other interfaces. Add keys to configure the System and Loop implementations used in pw_loop.
This commit is contained in:
		
							parent
							
								
									86dc0496a5
								
							
						
					
					
						commit
						db88e9f954
					
				
					 22 changed files with 455 additions and 342 deletions
				
			
		| 
						 | 
				
			
			@ -1312,7 +1312,7 @@ static bool parse(struct data *data, char *buf, size_t size, char **error)
 | 
			
		|||
	return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void do_input(void *data, int fd, enum spa_io mask)
 | 
			
		||||
static void do_input(void *data, int fd, uint32_t mask)
 | 
			
		||||
{
 | 
			
		||||
	struct data *d = data;
 | 
			
		||||
	char buf[4096], *error;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue