VIA686A.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #
  2. # Configuration for the VIA686A chip
  3. #
  4. # SPDIF support is not complete - it might not work, especially with AC3
  5. # passthru mode...
  6. #
  7. <confdir:pcm/front.conf>
  8. VIA686A.pcm.front.0 {
  9. @args [ CARD ]
  10. @args.CARD {
  11. type string
  12. }
  13. type hw
  14. card $CARD
  15. }
  16. # default with dmix/dsnoop
  17. VIA686A.pcm.default {
  18. @args [ CARD ]
  19. @args.CARD {
  20. type string
  21. }
  22. type asym
  23. playback.pcm {
  24. type plug
  25. slave.pcm {
  26. @func concat
  27. strings [ "dmix:" $CARD ]
  28. }
  29. }
  30. capture.pcm {
  31. type plug
  32. slave.pcm {
  33. @func concat
  34. strings [ "dsnoop:" $CARD ]
  35. }
  36. }
  37. }
  38. <confdir:pcm/iec958.conf>
  39. VIA686A.pcm.iec958.0 {
  40. @args [ CARD AES0 AES1 AES2 AES3 ]
  41. @args.CARD {
  42. type string
  43. }
  44. @args.AES0 {
  45. type integer
  46. }
  47. @args.AES1 {
  48. type integer
  49. }
  50. @args.AES2 {
  51. type integer
  52. }
  53. @args.AES3 {
  54. type integer
  55. }
  56. type hooks
  57. slave.pcm {
  58. type hw
  59. card $CARD
  60. }
  61. hooks.0 {
  62. type ctl_elems
  63. hook_args [
  64. {
  65. name "IEC958 Playback AC97-SPSA"
  66. lock true
  67. preserve true
  68. value 0
  69. }
  70. {
  71. name "IEC958 Playback Default"
  72. lock true
  73. preserve true
  74. value [ $AES0 $AES1 $AES2 $AES3 ]
  75. }
  76. {
  77. name "IEC958 Playback Switch"
  78. lock true
  79. preserve true
  80. value true
  81. }
  82. ]
  83. }
  84. }