Advertisement
Deadik

asound.conf

May 12th, 2013
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. pcm.!default {
  2. type plug
  3. slave {
  4. pcm "both"
  5. }
  6. }
  7.  
  8. pcm.both {
  9. type route
  10. slave {
  11. pcm multi
  12. channels 4
  13. }
  14. ttable.0.0 1.0
  15. ttable.1.1 1.0
  16. ttable.0.2 1.0
  17. ttable.1.3 1.0
  18. }
  19.  
  20. pcm.dmix_analog{
  21. type dmix
  22. ipc_key 1024
  23. slave {
  24. pcm "hw:0,0"
  25. period_time 0
  26. period_size 1024
  27. buffer_size 8192
  28. rate 48000
  29. }
  30. }
  31.  
  32. pcm.dmix_hdmi_tv{
  33. type dmix
  34. ipc_key 1024
  35. slave {
  36. pcm "hw:0,7"
  37. period_time 0
  38. period_size 1024
  39. buffer_size 8192
  40. rate 48000
  41. }
  42. }
  43.  
  44. pcm.multi {
  45. type multi
  46.  
  47. #hdmi
  48. slaves.a {
  49. pcm "dmix_hdmi_tv"
  50. channels 2
  51. }
  52.  
  53. #Аналог 5.1
  54. slaves.b {
  55. pcm "dmix_analog"
  56. channels 2#6
  57. }
  58.  
  59. bindings.0.slave a
  60. bindings.0.channel 0
  61. bindings.1.slave a
  62. bindings.1.channel 1
  63. bindings.2.slave b
  64. bindings.2.channel 0
  65. bindings.3.slave b
  66. bindings.3.channel 1
  67.  
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement