Advertisement
Guest User

Untitled

a guest
Dec 4th, 2011
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. #defaults.pcm.rate_converter="samplerate_medium"
  2. #possible values
  3. #samplerate_best
  4. #samplerate_linear
  5. #samplerate_medium
  6. #samplerate_order
  7.  
  8. #pcm.ears20 {
  9. #type plug
  10. #slave.pcm "dmixer"
  11. #route_policy duplicate
  12. #}
  13.  
  14.  
  15. pcm.dmixer {
  16. type dmix
  17. ipc_key 1024
  18. ipc_key_add_uid true
  19. slave {
  20. pcm "hw:0,0"
  21. period_time 0
  22. period_size 1024
  23. buffer_size 8192
  24. periods 128
  25. format S32_LE
  26. rate 48000
  27. }
  28. bindings {
  29. 0 0
  30. 1 1
  31. }
  32. hint {
  33. show on
  34. description "Default DMIX"
  35. }
  36. }
  37.  
  38.  
  39. # oss part
  40. pcm.dsp0 {
  41. type plug
  42. slave.pcm "dmixer" #"spdifdmix" "dmixer"
  43. }
  44.  
  45. ctl.mixer0 {
  46. type hw
  47. card 1
  48. }
  49.  
  50. pcm.!default {
  51. type plug
  52. slave.pcm "dmixer"
  53. }
  54.  
  55. pcm.spdifdmix {
  56. type dmix
  57. ipc_key 2048
  58. ipc_key_add_uid true
  59. slave {
  60. pcm "hw:0,1"
  61. period_time 0
  62. period_size 1024 #1024 #useful if you ear scratch or have a crappy sound (try other values if it doesn't work)
  63. buffer_size 8192 #8192 useful if you ear scratch or have a crappy sound (try other values if it doesn't work)
  64. format S32_LE
  65. periods 256
  66. rate 48000 #192000 set to 44100 or other.
  67. }
  68. bindings {
  69. 0 0
  70. 1 1
  71. }
  72. hint {
  73. show on
  74. description "SPDIF DMIXER"
  75. }
  76. }
  77.  
  78. # oss part
  79. #pcm.dsp1 {
  80. # type plug
  81. # slave.pcm "spdifdmix"
  82. #}
  83.  
  84. ctl.mixer_spdifdmix {
  85. type hw
  86. card 1
  87. }
  88.  
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement