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

ENS1370.conf (1367B)


  1. #
  2. # Configuration for the ENS1370 chip
  3. #
  4. <confdir:pcm/front.conf>
  5. ENS1370.pcm.front.0 {
  6. @args [ CARD ]
  7. @args.CARD {
  8. type string
  9. }
  10. type hw
  11. card $CARD
  12. device 1
  13. }
  14. # default with dmix/dsnoop
  15. ENS1370.pcm.default {
  16. @args [ CARD ]
  17. @args.CARD {
  18. type string
  19. }
  20. type asym
  21. playback.pcm {
  22. type plug
  23. slave.pcm {
  24. @func concat
  25. strings [ "dmix:" $CARD ]
  26. }
  27. }
  28. capture.pcm {
  29. type plug
  30. slave.pcm {
  31. @func concat
  32. strings [ "dsnoop:" $CARD ]
  33. }
  34. }
  35. }
  36. <confdir:pcm/rear.conf>
  37. ENS1370.pcm.rear.0 {
  38. @args [ CARD ]
  39. @args.CARD {
  40. type string
  41. }
  42. type hooks
  43. slave.pcm {
  44. type hw
  45. card $CARD
  46. }
  47. hooks.0 {
  48. type ctl_elems
  49. hook_args [
  50. {
  51. interface CARD
  52. name "PCM 0 Output also on Line-In Jack"
  53. preserve true
  54. lock true
  55. value true
  56. }
  57. {
  58. name "PCM Switch"
  59. preserve true
  60. lock true
  61. value [ false false ]
  62. }
  63. ]
  64. }
  65. }
  66. <confdir:pcm/surround40.conf>
  67. ENS1370.pcm.surround40.0 {
  68. @args [ CARD ]
  69. @args.CARD {
  70. type string
  71. }
  72. type multi
  73. master 1
  74. slaves [
  75. {
  76. pcm {
  77. @func concat
  78. strings [
  79. "cards.ENS1370.pcm.front.0:CARD=" $CARD
  80. ]
  81. }
  82. channels 2
  83. }
  84. {
  85. pcm {
  86. @func concat
  87. strings [
  88. "cards.ENS1370.pcm.rear.0:CARD=" $CARD
  89. ]
  90. }
  91. channels 2
  92. }
  93. ]
  94. bindings [
  95. { slave 0 channel 0 }
  96. { slave 0 channel 1 }
  97. { slave 1 channel 0 }
  98. { slave 1 channel 1 }
  99. ]
  100. }