Advertisement
Guest User

ALSA SW mix for HDA crap

a guest
Jun 24th, 2010
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. # define the sound card
  2. pcm.card0 {
  3. type hw
  4. card 0
  5. device 0
  6. }
  7.  
  8. # define software mixer device
  9. pcm.dmix0 {
  10. type dmix
  11. ipc_key 1000
  12. slave {
  13. pcm "card0"
  14. period_time 0
  15. period_size 1024
  16. buffer_size 8192
  17. rate 48000
  18. }
  19. }
  20.  
  21. # define dsnoop capture device
  22. pcm.dsnoop0 {
  23. type dsnoop
  24. ipc_key 1001
  25. slave {
  26. pcm "card0"
  27. }
  28. }
  29.  
  30. # Define the asymetric device
  31. pcm.asym0 {
  32. type asym
  33. playback.pcm "dmix0"
  34. capture.pcm "dsnoop0"
  35. }
  36.  
  37. pcm.pasym0 {
  38. type plug
  39. slave.pcm "asym0"
  40. }
  41.  
  42. pcm.!default {
  43. type plug
  44. slave.pcm "asym0"
  45. }
  46.  
  47. #ctl.!default {
  48. # type plug
  49. # slave.pcm "asym0"
  50. #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement