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

CMI8788.conf (1641B)


  1. #
  2. # Configuration for the CMI8788 chip
  3. #
  4. <confdir:pcm/front.conf>
  5. CMI8788.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. CMI8788.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 ",FORMAT=S32_LE" ]
  25. }
  26. }
  27. capture.pcm {
  28. type plug
  29. slave.pcm {
  30. @func concat
  31. strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
  32. }
  33. }
  34. }
  35. <confdir:pcm/surround40.conf>
  36. CMI8788.pcm.surround40.0 {
  37. @args [ CARD ]
  38. @args.CARD {
  39. type string
  40. }
  41. type hw
  42. card $CARD
  43. channels 4
  44. }
  45. <confdir:pcm/surround21.conf>
  46. <confdir:pcm/surround41.conf>
  47. <confdir:pcm/surround50.conf>
  48. <confdir:pcm/surround51.conf>
  49. CMI8788.pcm.surround51.0 {
  50. @args [ CARD ]
  51. @args.CARD {
  52. type string
  53. }
  54. type hw
  55. card $CARD
  56. channels 6
  57. }
  58. <confdir:pcm/surround71.conf>
  59. CMI8788.pcm.surround71.0 {
  60. @args [ CARD ]
  61. @args.CARD {
  62. type string
  63. }
  64. type hw
  65. card $CARD
  66. channels 8
  67. }
  68. <confdir:pcm/iec958.conf>
  69. CMI8788.pcm.iec958.0 {
  70. @args [ CARD AES0 AES1 AES2 AES3 ]
  71. @args.CARD {
  72. type string
  73. }
  74. @args.AES0 {
  75. type integer
  76. }
  77. @args.AES1 {
  78. type integer
  79. }
  80. @args.AES2 {
  81. type integer
  82. }
  83. @args.AES3 {
  84. type integer
  85. }
  86. type asym
  87. playback.pcm {
  88. type hooks
  89. slave.pcm {
  90. type hw
  91. card $CARD
  92. device 1
  93. }
  94. hooks.0 {
  95. type ctl_elems
  96. hook_args [
  97. {
  98. interface PCM
  99. device 1
  100. name "IEC958 Playback PCM Stream"
  101. lock true
  102. preserve true
  103. value [ $AES0 $AES1 $AES2 $AES3 ]
  104. }
  105. ]
  106. }
  107. }
  108. capture.pcm {
  109. type hw
  110. card $CARD
  111. device 1
  112. }
  113. }
  114. # vim: ft=alsaconf