logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

Audigy2.conf (5554B)


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