Advertisement
Pointman87

new see line 146

Oct 16th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. root@moon131:~# cat /etc/asound.conf
  2. </etc/pluto/alsa/virtual_cards.conf>
  3.  
  4. pcm_slave.spdif_convert48k {
  5. pcm "spdif:1,7"
  6. rate 48000
  7. }
  8.  
  9. pcm.spdif_playback {
  10. type plug
  11. slave spdif_convert48k
  12. }
  13.  
  14. pcm_slave.hdmi_convert48k {
  15. pcm "hdmi:1,7"
  16. rate 48000
  17. }
  18.  
  19. pcm.hdmi_playback {
  20. type plug
  21. slave hdmi_convert48k
  22. }
  23.  
  24. pcm.asym_spdif {
  25. type asym
  26. playback.pcm "spdif_playback"
  27. capture.pcm "plughw:1,7"
  28. }
  29.  
  30. pcm.asym_hdmi {
  31. type asym
  32. playback.pcm "hdmi_playback"
  33. capture.pcm "plughw:1,7"
  34. }
  35.  
  36. pcm.asym_analog {
  37. type asym
  38. playback.pcm "plug:dmix:1,7"
  39. capture.pcm "plughw:1,7"
  40. }
  41.  
  42. pcm.!hdmi {
  43. @args [ AES0 AES1 AES2 AES3 ]
  44. @args.AES0 {
  45. type integer
  46. # consumer, not-copyright, emphasis-none, mode=0
  47. default 0x04
  48. }
  49. @args.AES1 {
  50. type integer
  51. # original, PCM coder
  52. default 0x00
  53. }
  54. @args.AES2 {
  55. type integer
  56. # source and channel
  57. default 0x00
  58. }
  59. @args.AES3 {
  60. type integer
  61. # fs=48000Hz, clock accuracy=1000ppm
  62. default 0x00
  63. }
  64. type hooks
  65. slave.pcm {
  66. type hw
  67. card 1
  68. device
  69. }
  70. hooks.0 {
  71. type ctl_elems
  72. hook_args [
  73. {
  74. name "IEC958 Playback Default"
  75. lock true
  76. preserve true
  77. value [ $AES0 $AES1 $AES2 $AES3 ]
  78. }
  79. {
  80. name "IEC958 Playback Switch"
  81. lock true
  82. preserve true
  83. value true
  84. }
  85. ]
  86. }
  87. }
  88. pcm.!default asym_hdmi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement