mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	More session manager work
pulseaudio card is mapped to device pulseaudio sink/source is mapped to an endpoint prepare to map streams to card profiles Add Route param to implement the endpoint routing later (ports) Create an alsa endpoint for each device Create one stream for each endpoint (Playback/Capture) Implement create_link on the endpoint. The idea is to call create link on the peer endpoint to complete the link. Remove create_link on the session. Add stream-monitor to turn pw_stream nodes into endpoints Add a policy manager that tries to link endpoints Use enum pw_direction for the endpoint direction. We can use the media_class to determine if this is a pw_stream or not but it should not really matter, you can link any output to any input. Add autoconnect property for endpoints to make the policy connect.
This commit is contained in:
		
							parent
							
								
									edd011605d
								
							
						
					
					
						commit
						3f3dfbc67e
					
				
					 27 changed files with 2338 additions and 439 deletions
				
			
		| 
						 | 
				
			
			@ -200,7 +200,7 @@ static void configure_device(pa_stream *s)
 | 
			
		|||
	else {
 | 
			
		||||
		if (s->direction == PA_STREAM_RECORD) {
 | 
			
		||||
			if (g->mask == (PA_SUBSCRIPTION_MASK_SINK | PA_SUBSCRIPTION_MASK_SOURCE))
 | 
			
		||||
				s->device_index = g->stream_info.monitor;
 | 
			
		||||
				s->device_index = g->endpoint_info.monitor;
 | 
			
		||||
			else
 | 
			
		||||
				s->device_index = g->id;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue