deb http://security.debian.org/ sarge/updates main contrib non-free
deb http://debian.ustc.edu.cn/debian sarge main non-free contrib
deb http://debian.ustc.edu.cn/debian-non-US sarge/non-US main non-free contrib
deb http://debian.ustc.edu.cn/debian-uo sid marillat rareware misc ustc firefly jrfonseca java
pcm.swmixer {
type dmix
ipc_key 12345 # any unique number here
slave {
pcm "hw:0,0"
period_time 0
buffer_time 0
period_size 2048 # jm: much smoother than 1024/8192!
buffer_size 32768
rate 48000
}
bindings {
0 0 # from 0 => to 0
1 1 # from 1 => to 1
}
}
pcm.dsp0 {
type plug
slave.pcm "swmixer"
}
# this makes native ALSA apps default to using dmix
pcm.!default {
type plug
slave.pcm "swmixer"
}
ctl.dsp0 {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
第四步 解决xmms等程序的乱码问题
很简单 编辑 /etc/gtk/gtkrc.zh_CN 把里面的内容全部删除 添加下面的代码
style "gtk-default-zh-cn" {
fontset = "-bitstream-bitstream vera sans mono-medium-i-normal--0-0-0-0-m-0-iso8859-1,\
-misc-simsun-medium-r-normal--0-0-0-0-p-0-iso10646-1"
}
class "GtkWidget" style "gtk-default-zh-cn"