mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	alsa: leave other headphone control enabled if possible
This commit is contained in:
		
							parent
							
								
									08d0654867
								
							
						
					
					
						commit
						8a26fbf863
					
				
					 5 changed files with 22 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -37,9 +37,12 @@ override-map.2 = all-left,all-right
 | 
			
		|||
switch = off
 | 
			
		||||
volume = off
 | 
			
		||||
 | 
			
		||||
; This profile path is intended to control the second headphones, not
 | 
			
		||||
; the first headphones. But it should not hurt if we leave the
 | 
			
		||||
; headphone jack enabled nonetheless.
 | 
			
		||||
[Element Headphone]
 | 
			
		||||
switch = off
 | 
			
		||||
volume = off
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Headphone2]
 | 
			
		||||
required = any
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,9 +44,12 @@ volume = merge
 | 
			
		|||
override-map.1 = all
 | 
			
		||||
override-map.2 = all-left,all-right
 | 
			
		||||
 | 
			
		||||
; This profile path is intended to control the first headphones, not
 | 
			
		||||
; the second headphones. But it should not hurt if we leave the second
 | 
			
		||||
; headphone jack enabled nonetheless.
 | 
			
		||||
[Element Headphone2]
 | 
			
		||||
switch = off
 | 
			
		||||
volume = off
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Speaker]
 | 
			
		||||
switch = off
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -48,6 +48,10 @@ override-map.2 = lfe,lfe
 | 
			
		|||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Headphone2]
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Speaker]
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = merge
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -45,6 +45,10 @@ override-map.2 = all-left,all-right
 | 
			
		|||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Headphone2]
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Speaker]
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = merge
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,6 +44,10 @@ volume = off
 | 
			
		|||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Headphone2]
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = zero
 | 
			
		||||
 | 
			
		||||
[Element Speaker]
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = merge
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue