Advertisement
Guest User

Untitled

a guest
Jan 4th, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. pcm.!default {
  2. type dmix
  3. ipc_key 1024 # must be unique!
  4. # ipc_key_add_uid false # let multiple users share
  5. # ipc_perm 0666 # IPC permissions for multi-user sharing (octal, default 0600)
  6. slave {
  7. pcm "hw:0,0" # you cannot use a "plug" device here, darn.
  8. period_time 0
  9. period_size 1024 # must be power of 2
  10. buffer_size 8192 # dito. It
  11. #format "S32_LE"
  12. #periods 128 # dito.
  13. #rate 8000 # with rate 8000 you *will* hear,
  14. # if ossmix is used :)
  15. }
  16. # bindings are cool. This says, that only the first
  17. # two channels are to be used by dmix, which is
  18. # enough for (most) oss apps and also lets
  19. # multichannel chios work much faster:
  20. bindings {
  21. 0 0 # from 0 => to 0
  22. 1 1 # from 1 => to 1
  23. }
  24. }
  25. pcm.dsp0 {
  26. type plug
  27. slave.pcm "ossmix" # use our new PCM here
  28. }
  29. # mixer0 like above
  30. ctl.mixer0 {
  31. type hw
  32. card Generic_1
  33. }
  34.  
  35. # You may want to make your new ossmix the default for alsa.
  36. # If your alsa programs are complaining that they can't open
  37. # your sound devices, try uncommenting this next line
  38. #pcm.default pcm.dsp0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement