Echo_Echo3G.conf 4.3 KB

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