Advertisement
Dj_Dexter

.asoundrc

Nov 4th, 2011
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. pcm.ossmix {
  2. type dmix
  3. ipc_key 1024
  4. slave {
  5. pcm "hw:0,0"
  6. period_time 0
  7. period_size 1024
  8. buffer_size 4096 # buffer size < 6653, but pow(x, 2)
  9. rate 44100 # we want to play CDs only
  10. format S32_LE # needed in alsa 1.0.10 for some reason
  11. }
  12. bindings {
  13. 0 0
  14. 1 1
  15. }
  16. }
  17. # Everything shall be dmixed, so redefine "default":
  18. pcm.!default {
  19. type plug
  20. slave.pcm "ossmix"
  21. }
  22. # OSS via aoss should d(mix)stroyed:
  23. pcm.dsp0 {
  24. type plug
  25. slave.pcm "ossmix"
  26. }
  27. ctl.mixer0 {
  28. type hw
  29. card 0
  30. }
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement