summaryrefslogtreecommitdiff
path: root/asound.conf
blob: 907cdf53abd2f850bd79b134dad7c9c6f8eff953 (plain)
  1. # This was found here:
  2. # http://alsa.opensrc.org/index.php?page=Dmix+Kde+-+arts%2C+ESD+and+SDL+quick+and+dirty+HOWTO
  3. pcm.ossmix {
  4. type dmix
  5. ipc_key 1027 # must be unique!
  6. slave {
  7. pcm "hw:0,0" # you cannot use a "plug" device here, darn.
  8. period_time 0
  9. period_size 1024
  10. buffer_size 4096
  11. #format "S32_LE"
  12. #periods 128 # dito.
  13. rate 44100 # with rate 8000 you *will* hear, if ossmix is used :)
  14. }
  15. bindings {
  16. 0 0 # from 0 => to 0
  17. 1 1 # from 1 => to 1
  18. }
  19. }
  20. pcm.!default {
  21. type plug
  22. slave.pcm "ossmix"
  23. }
  24. # mixer0 like above
  25. ctl.mixer0 {
  26. type hw
  27. card 0
  28. }