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
 | 
					switch = off
 | 
				
			||||||
volume = 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]
 | 
					[Element Headphone]
 | 
				
			||||||
switch = off
 | 
					switch = mute
 | 
				
			||||||
volume = off
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Element Headphone2]
 | 
					[Element Headphone2]
 | 
				
			||||||
required = any
 | 
					required = any
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,9 +44,12 @@ volume = merge
 | 
				
			||||||
override-map.1 = all
 | 
					override-map.1 = all
 | 
				
			||||||
override-map.2 = all-left,all-right
 | 
					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]
 | 
					[Element Headphone2]
 | 
				
			||||||
switch = off
 | 
					switch = mute
 | 
				
			||||||
volume = off
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Element Speaker]
 | 
					[Element Speaker]
 | 
				
			||||||
switch = off
 | 
					switch = off
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -48,6 +48,10 @@ override-map.2 = lfe,lfe
 | 
				
			||||||
switch = mute
 | 
					switch = mute
 | 
				
			||||||
volume = zero
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Element Headphone2]
 | 
				
			||||||
 | 
					switch = mute
 | 
				
			||||||
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Element Speaker]
 | 
					[Element Speaker]
 | 
				
			||||||
switch = mute
 | 
					switch = mute
 | 
				
			||||||
volume = merge
 | 
					volume = merge
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -45,6 +45,10 @@ override-map.2 = all-left,all-right
 | 
				
			||||||
switch = mute
 | 
					switch = mute
 | 
				
			||||||
volume = zero
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Element Headphone2]
 | 
				
			||||||
 | 
					switch = mute
 | 
				
			||||||
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Element Speaker]
 | 
					[Element Speaker]
 | 
				
			||||||
switch = mute
 | 
					switch = mute
 | 
				
			||||||
volume = merge
 | 
					volume = merge
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,6 +44,10 @@ volume = off
 | 
				
			||||||
switch = mute
 | 
					switch = mute
 | 
				
			||||||
volume = zero
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Element Headphone2]
 | 
				
			||||||
 | 
					switch = mute
 | 
				
			||||||
 | 
					volume = zero
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Element Speaker]
 | 
					[Element Speaker]
 | 
				
			||||||
switch = mute
 | 
					switch = mute
 | 
				
			||||||
volume = merge
 | 
					volume = merge
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue