OK, I found it! The file is: /etc/asound.conf
here is example of my newly created asound.conf which gives MUCH better results:
Code:
pcm.card0 {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 2048
slave {
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 65536
buffer_time 0
periods 128
rate 48000
channels 2
}
bindings {
0 0
1 1
}
}