mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fail on name clash
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1980 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									ac83631447
								
							
						
					
					
						commit
						0ce32bd40c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1087,7 +1087,7 @@ int pa__init(pa_module*m) {
 | 
			
		|||
    if (!(dn = pa_xstrdup(pa_modargs_get_value(ma, "sink_name", NULL))))
 | 
			
		||||
        dn = pa_sprintf_malloc("tunnel.%s", u->server_name);
 | 
			
		||||
 | 
			
		||||
    if (!(u->sink = pa_sink_new(m->core, __FILE__, dn, 0, &ss, &map))) {
 | 
			
		||||
    if (!(u->sink = pa_sink_new(m->core, __FILE__, dn, 1, &ss, &map))) {
 | 
			
		||||
        pa_log("Failed to create sink.");
 | 
			
		||||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -1112,7 +1112,7 @@ int pa__init(pa_module*m) {
 | 
			
		|||
    if (!(dn = pa_xstrdup(pa_modargs_get_value(ma, "source_name", NULL))))
 | 
			
		||||
        dn = pa_sprintf_malloc("tunnel.%s", u->server_name);
 | 
			
		||||
 | 
			
		||||
    if (!(u->source = pa_source_new(m->core, __FILE__, dn, 0, &ss, &map))) {
 | 
			
		||||
    if (!(u->source = pa_source_new(m->core, __FILE__, dn, 1, &ss, &map))) {
 | 
			
		||||
        pa_log("Failed to create source.");
 | 
			
		||||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue