mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	move default device from runtime to state dir
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2478 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									32c53f303a
								
							
						
					
					
						commit
						9f86d0f543
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -163,10 +163,10 @@ int pa__init(pa_module *m) {
 | 
				
			||||||
    u = pa_xnew0(struct userdata, 1);
 | 
					    u = pa_xnew0(struct userdata, 1);
 | 
				
			||||||
    u->core = m->core;
 | 
					    u->core = m->core;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!(u->sink_filename = pa_runtime_path(DEFAULT_SINK_FILE)))
 | 
					    if (!(u->sink_filename = pa_state_path(DEFAULT_SINK_FILE)))
 | 
				
			||||||
        goto fail;
 | 
					        goto fail;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!(u->source_filename = pa_runtime_path(DEFAULT_SOURCE_FILE)))
 | 
					    if (!(u->source_filename = pa_state_path(DEFAULT_SOURCE_FILE)))
 | 
				
			||||||
        goto fail;
 | 
					        goto fail;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    load(u);
 | 
					    load(u);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue