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

SI7018.conf (2278B)


  1. #
  2. # Configuration for the SI7018 chip
  3. #
  4. # This configuration does not reflect hardware.
  5. #
  6. <confdir:pcm/front.conf>
  7. SI7018.pcm.front.0 {
  8. @args [ CARD ]
  9. @args.CARD {
  10. type string
  11. }
  12. type hw
  13. card $CARD
  14. chmap [ "UNKNOWN" "FL,FR" ]
  15. }
  16. <confdir:pcm/rear.conf>
  17. SI7018.pcm.rear.0 {
  18. @args [ CARD ]
  19. @args.CARD {
  20. type string
  21. }
  22. type hooks
  23. slave.pcm {
  24. type hw
  25. card $CARD
  26. chmap [ "UNKNOWN" "RL,RR" ]
  27. }
  28. hooks.0 {
  29. type ctl_elems
  30. hook_args [
  31. {
  32. name "PCM Playback Volume"
  33. preserve true
  34. lock true
  35. value [ 24 24 ]
  36. }
  37. ]
  38. }
  39. }
  40. <confdir:pcm/surround40.conf>
  41. SI7018.pcm.surround40.0 {
  42. @args [ CARD ]
  43. @args.CARD {
  44. type string
  45. }
  46. type multi
  47. slaves [
  48. {
  49. pcm {
  50. @func concat
  51. strings [
  52. "cards.SI7018.pcm.front.0:CARD=" $CARD
  53. ]
  54. }
  55. channels 2
  56. }
  57. {
  58. pcm {
  59. @func concat
  60. strings [
  61. "cards.SI7018.pcm.rear.0:CARD=" $CARD
  62. ]
  63. }
  64. channels 2
  65. }
  66. ]
  67. bindings [
  68. { slave 0 channel 0 }
  69. { slave 0 channel 1 }
  70. { slave 1 channel 0 }
  71. { slave 1 channel 1 }
  72. ]
  73. }
  74. <confdir:pcm/surround21.conf>
  75. <confdir:pcm/surround41.conf>
  76. <confdir:pcm/surround50.conf>
  77. <confdir:pcm/surround51.conf>
  78. SI7018.pcm.surround51.0 {
  79. @args [ CARD ]
  80. @args.CARD {
  81. type string
  82. }
  83. type multi
  84. slaves [
  85. {
  86. pcm {
  87. @func concat
  88. strings [
  89. "cards.SI7018.pcm.front.0:CARD=" $CARD
  90. ]
  91. }
  92. channels 2
  93. }
  94. {
  95. pcm {
  96. @func concat
  97. strings [
  98. "cards.SI7018.pcm.rear.0:CARD=" $CARD
  99. ]
  100. }
  101. channels 2
  102. }
  103. {
  104. pcm {
  105. @func concat
  106. strings [
  107. "cards.SI7018.pcm.front.0:CARD=" $CARD
  108. ]
  109. }
  110. channels 2
  111. }
  112. ]
  113. bindings [
  114. { slave 0 channel 0 }
  115. { slave 0 channel 1 }
  116. { slave 1 channel 0 }
  117. { slave 1 channel 1 }
  118. { slave 2 channel 0 }
  119. { slave 2 channel 1 }
  120. ]
  121. }
  122. <confdir:pcm/iec958.conf>
  123. SI7018.pcm.iec958.0 {
  124. @args [ CARD AES0 AES1 AES2 AES3 ]
  125. @args.CARD {
  126. type string
  127. }
  128. @args.AES0 {
  129. type integer
  130. }
  131. @args.AES1 {
  132. type integer
  133. }
  134. @args.AES2 {
  135. type integer
  136. }
  137. @args.AES3 {
  138. type integer
  139. }
  140. type hooks
  141. slave.pcm {
  142. type hw
  143. card $CARD
  144. device 1
  145. }
  146. hooks.0 {
  147. type ctl_elems
  148. hook_args [
  149. {
  150. interface PCM
  151. name "IEC958 Playback PCM Stream"
  152. value [ $AES0 $AES1 $AES2 $AES3 ]
  153. device 1
  154. lock true
  155. preserve true
  156. }
  157. ]
  158. }
  159. }