mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	minor updates
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@261 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									929104afd9
								
							
						
					
					
						commit
						f252edb794
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -24,6 +24,7 @@
 | 
			
		|||
load-module module-alsa-source device=plughw:1,0
 | 
			
		||||
load-module module-oss device="/dev/dsp" sink_name=output source_name=input record=0
 | 
			
		||||
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
 | 
			
		||||
load-module module-null-sink
 | 
			
		||||
#load-module module-pipe-sink
 | 
			
		||||
 | 
			
		||||
# Load audio drivers automatically on access
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -90,13 +90,13 @@ int pa__init(struct pa_core *c, struct pa_module*m) {
 | 
			
		|||
    assert(c && m);
 | 
			
		||||
    
 | 
			
		||||
    if (!(ma = pa_modargs_new(m->argument, valid_modargs))) {
 | 
			
		||||
        pa_log(__FILE__": failed to parse module arguments\n");
 | 
			
		||||
        pa_log(__FILE__": failed to parse module arguments.\n");
 | 
			
		||||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ss = c->default_sample_spec;
 | 
			
		||||
    if (pa_modargs_get_sample_spec(ma, &ss) < 0) {
 | 
			
		||||
        pa_log(__FILE__": invalid sample format specification\n");
 | 
			
		||||
        pa_log(__FILE__": invalid sample format specification.\n");
 | 
			
		||||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue