Ubuntu能识别声卡但无声的解决办法


配置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=

相关内容