网站公告列表

  没有公告

加入收藏
设为首页
繁體中文
您现在的位置: 五月雪电脑教程网 >> 操作系统教程 >> Linux >> 正文
解决Linux系统下声卡独占的方法          
解决Linux系统下声卡独占的方法
作者:佚名 文章来源:本站原创 点击数: 更新时间:2008-6-7 6:52:29
关键字信息载入中...
广告载入中...

解决Linux系统下声卡独占的方法

A much better way of getting esd to work with non-esd-aware apps is to make alsa use its software mixer.

让alsa用它自己的软件混合器一个更好的方法来让esd和不是esd识别的应用程序在一起工作

$ sudo /etc/init.d/alsa-utils stop $ sudo gedit /var/lib/alsa/asound.state

(add the following text verbatim to the start of this file)

$ sudo /etc/init.d/alsa-utils start

# This text should be added to the beginning of

# /var/lib/alsa/asound.state. You only need to add

# it once -- it is saved across reboots.

pcm.asymed {

type asym

playback.pcm dmix

capture.pcm dsnoop

}

pcm.default {

type plug

slave.pcm asymed

}

pcm.dmix {

type dmix

ipc_key 5678293

ipc_key_add_uid yes

slave {

pcm 'hw:0,0'

period_time 0

period_size 128

buffer_size 2048

format S16_LE

rate 48000

}

}

pcm.dsnoop {

type dsnoop

ipc_key 5778293

ipc_key_add_uid yes

[1] [2] 下一页

文章录入:llm64    责任编辑:lwyx 
【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
网 络 热 门
网络热门信息载入中...
最 新 热 门
最新热门信息载入中...
最 新 推 荐
最新推荐信息载入中...
相 关 文 章
相关文章信息载入中...
相 关 评 论
相关评论信息载入中...

Copyright @ 2005 2006 五月雪电脑教程网
中华人民共和国信息产业部ICP备案号: 闽ICP备 05014026
教程网技术支持:QQ:75484101 友情提供
统计进行中...统计进行中...

彻底解决Vista系统下无法
为了系统的安全高速 装完
如何给Windows XP系统进
Windows Vista系统下局域
操作系统安全设置:保护
如何利用操作系统漏洞 破
牢记11个Vista工具命令 
怎样为Vista系统盘减压
linux常用命令
推荐使用Linux系统下的5
 姓 名:
 评 分:
1分 2分 3分
4分 5分
 内 容: