ATIIXP-SPDMA.conf 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. #
  2. # Configuration for the ATI IXP 150/200/250 chips
  3. #
  4. <confdir:pcm/front.conf>
  5. ATIIXP-SPDMA.pcm.front.0 {
  6. @args [ CARD ]
  7. @args.CARD {
  8. type string
  9. }
  10. type hw
  11. card $CARD
  12. }
  13. # default with dmix/dsnoop
  14. ATIIXP.pcm.default {
  15. @args [ CARD ]
  16. @args.CARD {
  17. type string
  18. }
  19. type asym
  20. playback.pcm {
  21. type plug
  22. slave.pcm {
  23. @func concat
  24. strings [ "dmix:" $CARD ]
  25. }
  26. }
  27. capture.pcm {
  28. type plug
  29. slave.pcm {
  30. @func concat
  31. strings [ "dsnoop:" $CARD ]
  32. }
  33. }
  34. }
  35. <confdir:pcm/surround40.conf>
  36. ATIIXP-SPDMA.pcm.surround40.0 {
  37. @args [ CARD ]
  38. @args.CARD {
  39. type string
  40. }
  41. type hooks
  42. slave.pcm {
  43. type hw
  44. card $CARD
  45. channels 4
  46. }
  47. hooks.0 {
  48. type ctl_elems
  49. hook_args [
  50. {
  51. name "Channel Mode"
  52. preserve true
  53. value "4ch"
  54. lock true
  55. optional true
  56. }
  57. # for old drivers
  58. {
  59. name "Line-In As Surround"
  60. preserve true
  61. value true
  62. optional true
  63. }
  64. {
  65. name "Surround Down Mix"
  66. preserve true
  67. value off
  68. lock true
  69. optional true
  70. }
  71. ]
  72. }
  73. }
  74. <confdir:pcm/surround21.conf>
  75. <confdir:pcm/surround41.conf>
  76. <confdir:pcm/surround50.conf>
  77. <confdir:pcm/surround51.conf>
  78. ATIIXP-SPDMA.pcm.surround51.0 {
  79. @args [ CARD ]
  80. @args.CARD {
  81. type string
  82. }
  83. type hooks
  84. slave.pcm {
  85. type hw
  86. card $CARD
  87. channels 6
  88. }
  89. hooks.0 {
  90. type ctl_elems
  91. hook_args [
  92. {
  93. name "Channel Mode"
  94. preserve true
  95. value "6ch"
  96. lock true
  97. optional true
  98. }
  99. # for old drivers
  100. {
  101. name "Line-In As Surround"
  102. preserve true
  103. value true
  104. optional true
  105. }
  106. {
  107. name "Mic As Center/LFE"
  108. preserve true
  109. value true
  110. optional true
  111. }
  112. {
  113. name "Surround Down Mix"
  114. preserve true
  115. value off
  116. lock true
  117. optional true
  118. }
  119. {
  120. name "Center/LFE Down Mix"
  121. preserve true
  122. value off
  123. lock true
  124. optional true
  125. }
  126. ]
  127. }
  128. }
  129. <confdir:pcm/iec958.conf>
  130. ATIIXP-SPDMA.pcm.iec958.0 {
  131. @args [ CARD AES0 AES1 AES2 AES3 ]
  132. @args.CARD {
  133. type string
  134. }
  135. @args.AES0 {
  136. type integer
  137. }
  138. @args.AES1 {
  139. type integer
  140. }
  141. @args.AES2 {
  142. type integer
  143. }
  144. @args.AES3 {
  145. type integer
  146. }
  147. type iec958
  148. slave {
  149. pcm {
  150. type hw
  151. card $CARD
  152. device 1
  153. }
  154. format IEC958_SUBFRAME_LE
  155. }
  156. status [ $AES0 $AES1 $AES2 $AES3 ]
  157. }