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

ENS1371.conf (1806B)


  1. #
  2. # Configuration for the ENS1370 chip
  3. #
  4. <confdir:pcm/front.conf>
  5. ENS1371.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. ENS1371.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/rear.conf>
  36. ENS1371.pcm.rear.0 {
  37. @args [ CARD ]
  38. @args.CARD {
  39. type string
  40. }
  41. type hooks
  42. slave.pcm {
  43. type hw
  44. card $CARD
  45. device 1
  46. }
  47. hooks.0 {
  48. type ctl_elems
  49. hook_args [
  50. {
  51. interface MIXER
  52. name "AC97 2ch->4ch Copy Switch"
  53. lock true
  54. preserve true
  55. value 0
  56. }
  57. ]
  58. }
  59. }
  60. <confdir:pcm/surround40.conf>
  61. ENS1371.pcm.surround40.0 {
  62. @args [ CARD ]
  63. @args.CARD {
  64. type string
  65. }
  66. type multi
  67. slaves [
  68. {
  69. pcm {
  70. @func concat
  71. strings [ "cards.ENS1371.pcm.front.0:CARD=" $CARD ]
  72. }
  73. channels 2
  74. }
  75. {
  76. pcm {
  77. @func concat
  78. strings [ "cards.ENS1371.pcm.rear.0:CARD=" $CARD ]
  79. }
  80. channels 2
  81. }
  82. ]
  83. bindings [
  84. { slave 0 channel 0 }
  85. { slave 0 channel 1 }
  86. { slave 1 channel 0 }
  87. { slave 1 channel 1 }
  88. ]
  89. }
  90. <confdir:pcm/iec958.conf>
  91. ENS1371.pcm.iec958.0 {
  92. @args [ CARD AES0 AES1 AES2 AES3 ]
  93. @args.CARD {
  94. type string
  95. }
  96. @args.AES0 {
  97. type integer
  98. }
  99. @args.AES1 {
  100. type integer
  101. }
  102. @args.AES2 {
  103. type integer
  104. }
  105. @args.AES3 {
  106. type integer
  107. }
  108. type hooks
  109. slave.pcm {
  110. type hw
  111. card $CARD
  112. }
  113. hooks.0 {
  114. type ctl_elems
  115. hook_args [
  116. {
  117. interface PCM
  118. name "IEC958 Playback PCM Stream"
  119. lock true
  120. preserve true
  121. value [ $AES0 $AES1 $AES2 $AES3 ]
  122. }
  123. ]
  124. }
  125. }