mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	make module-oss-* use modargs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@63 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									216591d95e
								
							
						
					
					
						commit
						d4e0d51c15
					
				
					 7 changed files with 135 additions and 70 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,7 @@ static const char* const valid_modargs[] = {
 | 
			
		|||
    "rate",
 | 
			
		||||
    "channels",
 | 
			
		||||
    "format",
 | 
			
		||||
    "sink",
 | 
			
		||||
    "sink_name",
 | 
			
		||||
    NULL
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -131,7 +131,7 @@ int pa_module_init(struct pa_core *c, struct pa_module*m) {
 | 
			
		|||
    assert(u->filename);
 | 
			
		||||
    u->core = c;
 | 
			
		||||
    
 | 
			
		||||
    if (!(u->sink = pa_sink_new(c, pa_modargs_get_value(ma, "sink", DEFAULT_SINK_NAME), 0, &ss))) {
 | 
			
		||||
    if (!(u->sink = pa_sink_new(c, pa_modargs_get_value(ma, "sink_name", DEFAULT_SINK_NAME), 0, &ss))) {
 | 
			
		||||
        fprintf(stderr, __FILE__": failed to create sink.\n");
 | 
			
		||||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue