here are some interesting notes
http://www.sabi.co.uk/Cfg/ALSA/asound.conf
it might be better to try dmix with the defaults first rather than continuing to adjust
unless you can understand your sound card very well
(try this as an alternative to setting the buffers in a wrapper plugin for dmix)
Code:
pcm.dsp0 {
type plug
slave.pcm "dmix"
}
pcm.!default {
type plug
slave.pcm "dmix"
}