Chinaunix
标题:
配置alsa
[打印本页]
作者:
dogfox
时间:
2008-11-12 15:02
标题:
配置alsa
sudo apt-get install alsa-oss
sudo vi /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 vi /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=
}
本文来自ChinaUnix博客,如果查看原文请点:
http://blog.chinaunix.net/u2/62652/showart_1409125.html
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2