asound.conf.jack-audio 834 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. pcm.playbackonly {
  2. type asym
  3. playback.pcm "amix"
  4. }
  5. # playback PCM device: using loopback subdevice 0,0
  6. pcm.amix {
  7. type dmix
  8. ipc_key 219345
  9. slave.pcm "hw:Loopback,0,0"
  10. }
  11. # capture PCM device: using loopback subdevice 0,1
  12. pcm.asnoop {
  13. type dsnoop
  14. ipc_key 219346
  15. slave.pcm "hw:Loopback,0,1"
  16. }
  17. # duplex device combining our PCM devices defined above
  18. pcm.aduplex {
  19. type asym
  20. playback.pcm "amix"
  21. capture.pcm "asnoop"
  22. }
  23. # ------------------------------------------------------
  24. # for jack alsa_in and alsa_out: looped-back signal at other ends
  25. pcm.ploop {
  26. type plug
  27. slave.pcm "hw:Loopback,1,1"
  28. }
  29. pcm.cloop {
  30. type dsnoop
  31. ipc_key 219348
  32. slave.pcm "hw:Loopback,1,0"
  33. }
  34. # ------------------------------------------------------
  35. # default device
  36. pcm.!default {
  37. type plug
  38. slave.pcm "aduplex"
  39. }