现在的位置: 首页 > 综合 > 正文

ubuntu声音冲突混音

2013年04月25日 ⁄ 综合 ⁄ 共 734字 ⁄ 字号 评论关闭

几种症状:

1.打开某些声音软件的时候其他声音软件没有声音

2.更严重的:不知道什么软件占用了声音,使用totem播放电影出现“he audio device is busy. Is another application using it?“警告;播放 Rhythmboxbo音乐,全部音乐文件出错跳过;星际译王不能够发声。

 

解决方案:

参考:http://wiki.ubuntu.com.cn/Ubuntu%E5%B8%B8%E8%A7%81%E9%97%AE%E7%AD%94

第一:sudo apt-get install libesd-alsa0
第二: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
}
}
(上面的文件可以在大多数声卡上正常运行…尽管我成功地测试了三个不同的声卡,但我还是不能确保它可以使所有声卡都能正常运行)
第三: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=

 

抱歉!评论已关闭.