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

EMU10K1.conf (4420B)


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