Audigy2.conf 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. #
  2. # Configuration for the Audigy2 chip
  3. #
  4. <confdir:pcm/front.conf>
  5. Audigy2.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. Audigy2.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. Audigy2.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/side.conf>
  139. Audigy2.pcm.side.0 {
  140. @args [ CARD ]
  141. @args.CARD {
  142. type string
  143. }
  144. type hooks
  145. slave.pcm {
  146. type hw
  147. card $CARD
  148. chmap [ "UNKNOWN" "SL,SR" ]
  149. }
  150. hooks.0 {
  151. type ctl_elems
  152. hook_args [
  153. {
  154. interface PCM
  155. name "EMU10K1 PCM Send Volume"
  156. index { @func private_pcm_subdevice }
  157. lock true
  158. optional true
  159. 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 ]
  160. }
  161. {
  162. # for compatibility with older drivers
  163. name "EMU10K1 PCM Send Volume"
  164. index { @func private_pcm_subdevice }
  165. lock true
  166. optional true
  167. 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 ]
  168. }
  169. {
  170. interface PCM
  171. name "EMU10K1 PCM Send Routing"
  172. index { @func private_pcm_subdevice }
  173. lock true
  174. optional true
  175. value [ 14 15 0 0 0 0 0 0 14 15 0 0 0 0 0 0 14 15 0 0 0 0 0 0 ]
  176. }
  177. {
  178. # for compatibility with older drivers
  179. name "EMU10K1 PCM Send Routing"
  180. index { @func private_pcm_subdevice }
  181. lock true
  182. optional true
  183. value [ 14 15 0 0 0 0 0 0 14 15 0 0 0 0 0 0 14 15 0 0 0 0 0 0 ]
  184. }
  185. ]
  186. }
  187. }
  188. <confdir:pcm/surround21.conf>
  189. <confdir:pcm/surround40.conf>
  190. <confdir:pcm/surround41.conf>
  191. <confdir:pcm/surround50.conf>
  192. Audigy2.pcm.surround40.0 {
  193. @args [ CARD ]
  194. @args.CARD {
  195. type string
  196. }
  197. type multi
  198. slaves [
  199. {
  200. pcm {
  201. @func concat
  202. strings [
  203. "cards.Audigy2.pcm.front.0:CARD=" $CARD
  204. ]
  205. }
  206. channels 2
  207. }
  208. {
  209. pcm {
  210. @func concat
  211. strings [
  212. "cards.Audigy2.pcm.rear.0:CARD=" $CARD
  213. ]
  214. }
  215. channels 2
  216. }
  217. ]
  218. bindings [
  219. { slave 0 channel 0 }
  220. { slave 0 channel 1 }
  221. { slave 1 channel 0 }
  222. { slave 1 channel 1 }
  223. ]
  224. }
  225. <confdir:pcm/surround51.conf>
  226. Audigy2.pcm.surround51.0 {
  227. @args [ CARD ]
  228. @args.CARD {
  229. type string
  230. }
  231. type multi
  232. slaves [
  233. {
  234. pcm {
  235. @func concat
  236. strings [
  237. "cards.Audigy2.pcm.front.0:CARD=" $CARD
  238. ]
  239. }
  240. channels 2
  241. }
  242. {
  243. pcm {
  244. @func concat
  245. strings [
  246. "cards.Audigy2.pcm.rear.0:CARD=" $CARD
  247. ]
  248. }
  249. channels 2
  250. }
  251. {
  252. pcm {
  253. @func concat
  254. strings [
  255. "cards.Audigy2.pcm.center_lfe.0:CARD=" $CARD
  256. ]
  257. }
  258. channels 2
  259. }
  260. ]
  261. bindings [
  262. { slave 0 channel 0 }
  263. { slave 0 channel 1 }
  264. { slave 1 channel 0 }
  265. { slave 1 channel 1 }
  266. { slave 2 channel 0 }
  267. { slave 2 channel 1 }
  268. ]
  269. }
  270. <confdir:pcm/surround71.conf>
  271. Audigy2.pcm.surround71.0 {
  272. @args [ CARD ]
  273. @args.CARD {
  274. type string
  275. }
  276. type multi
  277. slaves [
  278. {
  279. pcm {
  280. @func concat
  281. strings [
  282. "cards.Audigy2.pcm.front.0:CARD=" $CARD
  283. ]
  284. }
  285. channels 2
  286. }
  287. {
  288. pcm {
  289. @func concat
  290. strings [
  291. "cards.Audigy2.pcm.rear.0:CARD=" $CARD
  292. ]
  293. }
  294. channels 2
  295. }
  296. {
  297. pcm {
  298. @func concat
  299. strings [
  300. "cards.Audigy2.pcm.center_lfe.0:CARD=" $CARD
  301. ]
  302. }
  303. channels 2
  304. }
  305. {
  306. pcm {
  307. @func concat
  308. strings [
  309. "cards.Audigy2.pcm.side.0:CARD=" $CARD
  310. ]
  311. }
  312. channels 2
  313. }
  314. ]
  315. bindings [
  316. { slave 0 channel 0 }
  317. { slave 0 channel 1 }
  318. { slave 1 channel 0 }
  319. { slave 1 channel 1 }
  320. { slave 2 channel 0 }
  321. { slave 2 channel 1 }
  322. { slave 3 channel 0 }
  323. { slave 3 channel 1 }
  324. ]
  325. }
  326. <confdir:pcm/iec958.conf>
  327. Audigy2.pcm.iec958.0 {
  328. @args [ CARD AES0 AES1 AES2 AES3 ]
  329. @args.CARD {
  330. type string
  331. }
  332. @args.AES0 {
  333. type integer
  334. }
  335. @args.AES1 {
  336. type integer
  337. }
  338. @args.AES2 {
  339. type integer
  340. }
  341. @args.AES3 {
  342. type integer
  343. }
  344. type hooks
  345. slave.pcm {
  346. type hw
  347. card $CARD
  348. }
  349. hooks.0 {
  350. type ctl_elems
  351. hook_args [
  352. {
  353. interface PCM
  354. name "IEC958 Playback Default"
  355. preserve true
  356. optional true
  357. value [ $AES0 $AES1 $AES2 $AES3 ]
  358. }
  359. {
  360. # for compatibility with older drivers
  361. name "IEC958 Playback Default"
  362. preserve true
  363. optional true
  364. value [ $AES0 $AES1 $AES2 $AES3 ]
  365. }
  366. {
  367. name "IEC958 Optical Raw Playback Switch"
  368. lock true
  369. preserve true
  370. value [ 1 1 ]
  371. }
  372. {
  373. interface PCM
  374. name "EMU10K1 PCM Send Volume"
  375. index { @func private_pcm_subdevice }
  376. lock true
  377. optional true
  378. 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 ]
  379. }
  380. {
  381. # for compatibility with older drivers
  382. name "EMU10K1 PCM Send Volume"
  383. index { @func private_pcm_subdevice }
  384. lock true
  385. optional true
  386. 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 ]
  387. }
  388. {
  389. interface PCM
  390. name "EMU10K1 PCM Send Routing"
  391. index { @func private_pcm_subdevice }
  392. lock true
  393. optional true
  394. 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 ]
  395. }
  396. {
  397. # for compatibility with older drivers
  398. name "EMU10K1 PCM Send Routing"
  399. index { @func private_pcm_subdevice }
  400. lock true
  401. optional true
  402. 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 ]
  403. }
  404. {
  405. name "Audigy Analog/Digital Output Jack"
  406. lock true
  407. preserve true
  408. value 1
  409. }
  410. ]
  411. }
  412. }