也说Ubuntu混音

1413阅读 0评论2008-07-15 dogfox
分类:LINUX

首先安装Alsa软件。
sudo apt-get install alsa-oss

配置

sudo gedit /etc/asound.conf

添加如下内容:
pcm.card0 {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm "dmixer"
}

pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
periods 128
rate 44100
}
bindings {
0 0
1 1
}
}

修改ESD配置文件:

sudo gedit /etc/esound/esd.conf
改成如下:

[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options=

以下部分来自论坛







上一篇:conky美化
下一篇:降低硬盘能耗