Advertisement
AnthonyL2

analog-output-headphones.conf

Jun 13th, 2020
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. # This file is part of PulseAudio.
  2. #
  3. # PulseAudio is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU Lesser General Public License as
  5. # published by the Free Software Foundation; either version 2.1 of the
  6. # License, or (at your option) any later version.
  7. #
  8. # PulseAudio is distributed in the hope that it will be useful, but
  9. # WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. # General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU Lesser General Public License
  14. # along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
  15.  
  16. ; Path for mixers that have a 'Headphone' control
  17. ;
  18. ; See analog-output.conf.common for an explanation on the directives
  19.  
  20. [General]
  21. priority = 90
  22. description-key = analog-output-headphones
  23.  
  24. [Properties]
  25. device.icon_name = audio-headphones
  26.  
  27. [Jack Dock Headphone]
  28. required-any = any
  29.  
  30. [Jack Dock Headphone Phantom]
  31. required-any = any
  32. state.plugged = unknown
  33. state.unplugged = unknown
  34.  
  35. [Jack Front Headphone]
  36. required-any = any
  37.  
  38. [Jack Front Headphone,1]
  39. required-any = any
  40.  
  41. [Jack Front Headphone Front]
  42. required-any = any
  43.  
  44. [Jack Front Headphone Surround]
  45. required-any = any
  46.  
  47. [Jack Front Headphone Phantom]
  48. required-any = any
  49. state.plugged = unknown
  50. state.unplugged = unknown
  51.  
  52. [Jack Headphone]
  53. required-any = any
  54.  
  55. [Jack Headphone Phantom]
  56. required-any = any
  57. state.plugged = unknown
  58. state.unplugged = unknown
  59.  
  60. # This jack can be either a headphone *or* a mic. Used on some ASUS netbooks.
  61. [Jack Headphone Mic]
  62. required-any = any
  63.  
  64. [Element Hardware Master]
  65. switch = mute
  66. volume = merge
  67. override-map.1 = all
  68. override-map.2 = all-left,all-right
  69.  
  70. [Element Master]
  71. switch = mute
  72. volume = merge
  73. override-map.1 = all
  74. override-map.2 = all-left,all-right
  75.  
  76. [Element Master Mono]
  77. switch = off
  78. volume = off
  79.  
  80. [Element Speaker+LO]
  81. switch = off
  82. volume = off
  83.  
  84. [Element Headphone+LO]
  85. required-any = any
  86. switch = mute
  87. volume = merge
  88. override-map.1 = all
  89. override-map.2 = all-left,all-right
  90.  
  91. [Element Headphone]
  92. required-any = any
  93. switch = mute
  94. volume = merge
  95. override-map.1 = all
  96. override-map.2 = all-left,all-right
  97.  
  98. [Element Headset]
  99. required-any = any
  100. switch = mute
  101. volume = merge
  102. override-map.1 = all
  103. override-map.2 = all-left,all-right
  104.  
  105. [Element Line HP Swap]
  106. switch = on
  107. required-any = any
  108.  
  109. ; This profile path is intended to control the first headphones, not
  110. ; the second headphones. But it should not hurt if we leave the second
  111. ; headphone jack enabled nonetheless.
  112. [Element Headphone2]
  113. switch = mute
  114. volume = zero
  115.  
  116. [Element Speaker]
  117. switch = off
  118. volume = off
  119.  
  120. [Element Desktop Speaker]
  121. switch = off
  122. volume = off
  123.  
  124. ; On some machines Front is actually a part of the Headphone path
  125. [Element Front]
  126. switch = mute
  127. volume = zero
  128.  
  129. [Element Rear]
  130. switch = off
  131. volume = off
  132.  
  133. [Element Surround]
  134. switch = off
  135. volume = off
  136.  
  137. [Element Side]
  138. switch = off
  139. volume = off
  140.  
  141. [Element Center]
  142. switch = off
  143. volume = off
  144.  
  145. [Element LFE]
  146. switch = off
  147. volume = off
  148.  
  149. [Element Bass Speaker]
  150. switch = off
  151. volume = off
  152.  
  153. [Element Speaker Front]
  154. switch = off
  155. volume = off
  156.  
  157. [Element Speaker Surround]
  158. switch = off
  159. volume = off
  160.  
  161. [Element Speaker Side]
  162. switch = off
  163. volume = off
  164.  
  165. [Element Speaker CLFE]
  166. switch = off
  167. volume = off
  168.  
  169. .include analog-output.conf.common
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement