mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	set is_hardware flag for a few hw plugins
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1092 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									494fa68327
								
							
						
					
					
						commit
						b91dd2381b
					
				
					 6 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -555,6 +555,7 @@ int pa__init(pa_core *c, pa_module*m) {
 | 
			
		|||
        u->source->set_hw_volume = source_set_hw_volume_cb;
 | 
			
		||||
        pa_source_set_owner(u->source, m);
 | 
			
		||||
        u->source->description = pa_sprintf_malloc("Solaris PCM on '%s'", p);
 | 
			
		||||
        u->source->is_hardware = 1;
 | 
			
		||||
    } else
 | 
			
		||||
        u->source = NULL;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -569,6 +570,7 @@ int pa__init(pa_core *c, pa_module*m) {
 | 
			
		|||
        u->sink->userdata = u;
 | 
			
		||||
        pa_sink_set_owner(u->sink, m);
 | 
			
		||||
        u->sink->description = pa_sprintf_malloc("Solaris PCM on '%s'", p);
 | 
			
		||||
        u->sink->is_hardware = 1;
 | 
			
		||||
    } else
 | 
			
		||||
        u->sink = NULL;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue