mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	jack: handle "default" server name
This commit is contained in:
		
							parent
							
								
									68f6c75cae
								
							
						
					
					
						commit
						d98d947e54
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -2459,6 +2459,10 @@ jack_client_t * jack_client_open (const char *client_name,
 | 
				
			||||||
	varargs_parse(client, options, ap);
 | 
						varargs_parse(client, options, ap);
 | 
				
			||||||
	va_end(ap);
 | 
						va_end(ap);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (client->server_name != NULL &&
 | 
				
			||||||
 | 
						    strcmp(client->server_name, "default") == 0)
 | 
				
			||||||
 | 
							client->server_name = NULL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	client->props = pw_properties_new(
 | 
						client->props = pw_properties_new(
 | 
				
			||||||
			"loop.cancel", "true",
 | 
								"loop.cancel", "true",
 | 
				
			||||||
			PW_KEY_REMOTE_NAME, client->server_name,
 | 
								PW_KEY_REMOTE_NAME, client->server_name,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue