mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Completely rework ALSA device selection code: choose the device to open depending on the requested number of channels and channel map. In most cases it will now suffice to set default-channels=6 to enable 5.1 sound for all devices that support it
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2050 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									f752882525
								
							
						
					
					
						commit
						d17bb53d3e
					
				
					 15 changed files with 350 additions and 122 deletions
				
			
		| 
						 | 
				
			
			@ -222,7 +222,8 @@ static int detect_waveout(pa_core *c, int just_one) {
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
int pa__init(pa_module*m) {
 | 
			
		||||
    int just_one = 0, n = 0;
 | 
			
		||||
    pa_bool_t just_one = FALSE;
 | 
			
		||||
    int n = 0;
 | 
			
		||||
    pa_modargs *ma;
 | 
			
		||||
 | 
			
		||||
    pa_assert(m);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue