mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa-endpoint: fix stream names
This commit is contained in:
		
							parent
							
								
									2242c4bab2
								
							
						
					
					
						commit
						c7456d579a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -247,9 +247,9 @@ static struct stream *endpoint_add_stream(struct endpoint *endpoint)
 | 
			
		|||
		if (endpoint->monitor != NULL)
 | 
			
		||||
			pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Monitor");
 | 
			
		||||
		else
 | 
			
		||||
			pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Playback");
 | 
			
		||||
	} else {
 | 
			
		||||
			pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Capture");
 | 
			
		||||
	} else {
 | 
			
		||||
		pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Playback");
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	s->info.version = PW_VERSION_ENDPOINT_STREAM_INFO;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue