mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	adapter: put port channel in port name if possible
This commit is contained in:
		
							parent
							
								
									f0b3ed5257
								
							
						
					
					
						commit
						efe3aba608
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -245,7 +245,7 @@ static void node_port_init(void *data, struct pw_port *port)
 | 
				
			||||||
	pw_properties_setf(new, PW_KEY_OBJECT_PATH, "%s:%s_%d",
 | 
						pw_properties_setf(new, PW_KEY_OBJECT_PATH, "%s:%s_%d",
 | 
				
			||||||
			path ? path : node_name, prefix, port->port_id);
 | 
								path ? path : node_name, prefix, port->port_id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_properties_setf(new, PW_KEY_PORT_NAME, "%s_%d", prefix, port->port_id);
 | 
						pw_properties_setf(new, PW_KEY_PORT_NAME, "%s_%s", prefix, str);
 | 
				
			||||||
	pw_properties_setf(new, PW_KEY_PORT_ALIAS, "%s:%s_%s",
 | 
						pw_properties_setf(new, PW_KEY_PORT_ALIAS, "%s:%s_%s",
 | 
				
			||||||
			node_name, prefix, str);
 | 
								node_name, prefix, str);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue