asound.conf 620 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # The IPC key of dmix or dsnoop plugin must be unique
  2. # If 555555 or 666666 is used by other processes, use another one
  3. # use samplerate to resample as speexdsp resample is bad
  4. defaults.pcm.rate_converter "samplerate"
  5. pcm.!default {
  6. type asym
  7. playback.pcm "playback"
  8. capture.pcm "capture"
  9. }
  10. pcm.playback {
  11. type plug
  12. slave.pcm "dmixed"
  13. }
  14. pcm.capture {
  15. type plug
  16. slave.pcm "array"
  17. }
  18. pcm.dmixed {
  19. type dmix
  20. slave.pcm "hw:wm8960soundcard"
  21. ipc_key 555555
  22. }
  23. pcm.array {
  24. type dsnoop
  25. slave {
  26. pcm "hw:wm8960soundcard"
  27. channels 2
  28. }
  29. ipc_key 666666
  30. }