歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu能識別聲卡但無聲的解決辦法

Ubuntu能識別聲卡但無聲的解決辦法

日期:2017/2/28 17:36:44   编辑: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=
Copyright © Linux教程網 All Rights Reserved