Audigy.conf 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. #
  2. # Configuration for the Audigy chip
  3. #
  4. <confdir:pcm/front.conf>
  5. Audigy.pcm.front.0 {
  6. @args [ CARD ]
  7. @args.CARD {
  8. type string
  9. }
  10. type hooks
  11. slave.pcm {
  12. type hw
  13. card $CARD
  14. chmap [ "UNKNOWN" "FL,FR" ]
  15. }
  16. hooks.0 {
  17. type ctl_elems
  18. hook_args [
  19. {
  20. interface PCM
  21. name "EMU10K1 PCM Send Volume"
  22. index { @func private_pcm_subdevice }
  23. lock true
  24. optional true
  25. value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
  26. }
  27. {
  28. # for compatibility with older drivers
  29. name "EMU10K1 PCM Send Volume"
  30. index { @func private_pcm_subdevice }
  31. lock true
  32. optional true
  33. value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
  34. }
  35. {
  36. interface PCM
  37. name "EMU10K1 PCM Send Routing"
  38. index { @func private_pcm_subdevice }
  39. lock true
  40. optional true
  41. value [ 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 ]
  42. }
  43. {
  44. # for compatibility with older drivers
  45. name "EMU10K1 PCM Send Routing"
  46. index { @func private_pcm_subdevice }
  47. lock true
  48. optional true
  49. value [ 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 ]
  50. }
  51. ]
  52. }
  53. }
  54. <confdir:pcm/rear.conf>
  55. Audigy.pcm.rear.0 {
  56. @args [ CARD ]
  57. @args.CARD {
  58. type string
  59. }
  60. type hooks
  61. slave.pcm {
  62. type hw
  63. card $CARD
  64. chmap [ "UNKNOWN" "RL,RR" ]
  65. }
  66. hooks.0 {
  67. type ctl_elems
  68. hook_args [
  69. {
  70. interface PCM
  71. name "EMU10K1 PCM Send Volume"
  72. index { @func private_pcm_subdevice }
  73. lock true
  74. optional true
  75. value [ 0 0 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 ]
  76. }
  77. {
  78. # for compatibility with older drivers
  79. name "EMU10K1 PCM Send Volume"
  80. index { @func private_pcm_subdevice }
  81. lock true
  82. optional true
  83. value [ 0 0 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 ]
  84. }
  85. ]
  86. }
  87. }
  88. <confdir:pcm/center_lfe.conf>
  89. Audigy.pcm.center_lfe.0 {
  90. @args [ CARD ]
  91. @args.CARD {
  92. type string
  93. }
  94. type hooks
  95. slave.pcm {
  96. type hw
  97. card $CARD
  98. chmap [ "UNKNOWN" "FC,LFE" ]
  99. }
  100. hooks.0 {
  101. type ctl_elems
  102. hook_args [
  103. {
  104. interface PCM
  105. name "EMU10K1 PCM Send Volume"
  106. index { @func private_pcm_subdevice }
  107. lock true
  108. optional true
  109. value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
  110. }
  111. {
  112. # for compatibility with older drivers
  113. name "EMU10K1 PCM Send Volume"
  114. index { @func private_pcm_subdevice }
  115. lock true
  116. optional true
  117. value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
  118. }
  119. {
  120. interface PCM
  121. name "EMU10K1 PCM Send Routing"
  122. index { @func private_pcm_subdevice }
  123. lock true
  124. optional true
  125. value [ 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 ]
  126. }
  127. {
  128. # for compatibility with older drivers
  129. name "EMU10K1 PCM Send Routing"
  130. index { @func private_pcm_subdevice }
  131. lock true
  132. optional true
  133. value [ 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 ]
  134. }
  135. ]
  136. }
  137. }
  138. <confdir:pcm/surround21.conf>
  139. <confdir:pcm/surround40.conf>
  140. <confdir:pcm/surround41.conf>
  141. <confdir:pcm/surround50.conf>
  142. Audigy.pcm.surround40.0 {
  143. @args [ CARD ]
  144. @args.CARD {
  145. type string
  146. }
  147. type multi
  148. slaves [
  149. {
  150. pcm {
  151. @func concat
  152. strings [
  153. "cards.Audigy.pcm.front.0:CARD=" $CARD
  154. ]
  155. }
  156. channels 2
  157. }
  158. {
  159. pcm {
  160. @func concat
  161. strings [
  162. "cards.Audigy.pcm.rear.0:CARD=" $CARD
  163. ]
  164. }
  165. channels 2
  166. }
  167. ]
  168. bindings [
  169. { slave 0 channel 0 }
  170. { slave 0 channel 1 }
  171. { slave 1 channel 0 }
  172. { slave 1 channel 1 }
  173. ]
  174. }
  175. <confdir:pcm/surround51.conf>
  176. Audigy.pcm.surround51.0 {
  177. @args [ CARD ]
  178. @args.CARD {
  179. type string
  180. }
  181. type multi
  182. slaves [
  183. {
  184. pcm {
  185. @func concat
  186. strings [
  187. "cards.Audigy.pcm.front.0:CARD=" $CARD
  188. ]
  189. }
  190. channels 2
  191. }
  192. {
  193. pcm {
  194. @func concat
  195. strings [
  196. "cards.Audigy.pcm.rear.0:CARD=" $CARD
  197. ]
  198. }
  199. channels 2
  200. }
  201. {
  202. pcm {
  203. @func concat
  204. strings [
  205. "cards.Audigy.pcm.center_lfe.0:CARD=" $CARD
  206. ]
  207. }
  208. channels 2
  209. }
  210. ]
  211. bindings [
  212. { slave 0 channel 0 }
  213. { slave 0 channel 1 }
  214. { slave 1 channel 0 }
  215. { slave 1 channel 1 }
  216. { slave 2 channel 0 }
  217. { slave 2 channel 1 }
  218. ]
  219. }
  220. <confdir:pcm/iec958.conf>
  221. Audigy.pcm.iec958.0 {
  222. @args [ CARD AES0 AES1 AES2 AES3 ]
  223. @args.CARD {
  224. type string
  225. }
  226. @args.AES0 {
  227. type integer
  228. }
  229. @args.AES1 {
  230. type integer
  231. }
  232. @args.AES2 {
  233. type integer
  234. }
  235. @args.AES3 {
  236. type integer
  237. }
  238. type hooks
  239. slave.pcm {
  240. type hw
  241. card $CARD
  242. }
  243. hooks.0 {
  244. type ctl_elems
  245. hook_args [
  246. {
  247. interface PCM
  248. name "IEC958 Playback Default"
  249. lock true
  250. preserve true
  251. optional true
  252. value [ $AES0 $AES1 $AES2 $AES3 ]
  253. }
  254. {
  255. # for compatibility with older drivers
  256. name "IEC958 Playback Default"
  257. lock true
  258. preserve true
  259. optional true
  260. value [ $AES0 $AES1 $AES2 $AES3 ]
  261. }
  262. {
  263. name "IEC958 Optical Raw Playback Switch"
  264. lock true
  265. preserve true
  266. value [ 1 1 ]
  267. }
  268. {
  269. interface PCM
  270. name "EMU10K1 PCM Send Volume"
  271. index { @func private_pcm_subdevice }
  272. lock true
  273. optional true
  274. value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
  275. }
  276. {
  277. # for compatibility with older drivers
  278. name "EMU10K1 PCM Send Volume"
  279. index { @func private_pcm_subdevice }
  280. lock true
  281. optional true
  282. value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
  283. }
  284. {
  285. interface PCM
  286. name "EMU10K1 PCM Send Routing"
  287. index { @func private_pcm_subdevice }
  288. lock true
  289. optional true
  290. value [ 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 ]
  291. }
  292. {
  293. # for compatibility with older drivers
  294. name "EMU10K1 PCM Send Routing"
  295. index { @func private_pcm_subdevice }
  296. lock true
  297. optional true
  298. value [ 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 ]
  299. }
  300. {
  301. name "Audigy Analog/Digital Output Jack"
  302. lock true
  303. preserve true
  304. value 1
  305. }
  306. ]
  307. }
  308. }