Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. #
  2. # Configuration for Amlogic M8 Audio
  3. #
  4.  
  5. AML-M8AUDIO.pcm.default {
  6. @args [ CARD ]
  7. @args.CARD { type string }
  8. type plug
  9. slave.pcm {
  10. @func concat
  11. strings [ "dmix:" $CARD ]
  12. }
  13. }
  14.  
  15. <confdir:pcm/front.conf>
  16.  
  17. AML-M8AUDIO.pcm.front.0 {
  18. @args [ CARD ]
  19. @args.CARD { type string }
  20. type hw
  21. card $CARD
  22. device 0
  23. format S32_LE
  24. }
  25.  
  26. <confdir:pcm/surround51.conf>
  27.  
  28. AML-M8AUDIO.pcm.surround51.0 {
  29. @args [ CARD ]
  30. @args.CARD { type string }
  31. type route
  32. ttable.0.0 1
  33. ttable.1.1 1
  34. ttable.2.4 1
  35. ttable.3.5 1
  36. ttable.4.3 1
  37. ttable.5.2 1
  38. slave.pcm {
  39. type plug
  40. slave {
  41. pcm {
  42. type hw
  43. card $CARD
  44. device 0
  45. }
  46. channels 8
  47. format S32_LE
  48. }
  49. }
  50. }
  51.  
  52. <confdir:pcm/surround71.conf>
  53.  
  54. AML-M8AUDIO.pcm.surround71.0 {
  55. @args [ CARD ]
  56. @args.CARD { type string }
  57. type route
  58. ttable.0.0 1
  59. ttable.1.1 1
  60. ttable.2.6 1
  61. ttable.3.7 1
  62. ttable.4.3 1
  63. ttable.5.2 1
  64. ttable.6.4 1
  65. ttable.7.5 1
  66. slave.pcm {
  67. type plug
  68. slave {
  69. pcm {
  70. type hw
  71. card $CARD
  72. device 0
  73. }
  74. channels 8
  75. format S32_LE
  76. }
  77. }
  78. }
  79.  
  80. <confdir:pcm/hdmi.conf>
  81.  
  82. AML-M8AUDIO.pcm.hdmi.0 {
  83. @args [ CARD AES0 AES1 AES2 AES3 ]
  84. @args.CARD { type string }
  85. @args.AES0 { type integer }
  86. @args.AES1 { type integer }
  87. @args.AES2 { type integer }
  88. @args.AES3 { type integer }
  89. type hooks
  90. slave.pcm {
  91. type hw
  92. card $CARD
  93. device 1
  94. format S16_LE
  95. }
  96. hooks.0 {
  97. type ctl_elems
  98. hook_args [
  99. {
  100. interface MIXER
  101. name "IEC958 Playback Default"
  102. lock true
  103. preserve true
  104. optional true
  105. value [ $AES0 $AES1 $AES2 $AES3 ]
  106. }
  107. ]
  108. }
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement