QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1136|回复: 13

关于alsa的问题,开机有声音但是realplay&bmp的

[复制链接]
发表于 2005-7-5 15:03:13 | 显示全部楼层 |阅读模式
关于alsa的问题,开机xine totem mplayer,bmp的esound插件有声音但是realplay&bmp的alsa插件不可用,必须alsaconf后才可以。lsmod前后模块没有什么变化,就是模块users项数值不一样
发表于 2005-7-5 20:36:46 | 显示全部楼层
debian? gentoo? kde? gnome?
回复

使用道具 举报

发表于 2005-7-5 23:32:28 | 显示全部楼层

Re: 关于alsa的问题,开机有声音但是realplay&

[quote:16d1339b48="omegao"]关于alsa的问题,开机xine totem mplayer,bmp的esound插件有声音但是realplay&bmp的alsa插件不可用,必须alsaconf后才可以。lsmod前后模块没有什么变化,就是模块users项数值不一样[/quote]

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=123292

这里面有关于 alsa 的 可以参考一下
回复

使用道具 举报

发表于 2005-7-5 23:33:43 | 显示全部楼层
第四步 让多个播放器能同时发声
安装了alsa-base就能让多个播放器同时发声了,但还要配置一下
#cd ~/ -----------进入个人文件夹
#nano .asoundrc ----------前面带.的是隐藏文件,is -a 可以列出隐藏文件,创建这个文件 添加下面的代码可以使多个音频流同时播放

pcm.swmixer {
type dmix
ipc_key 12345 # any unique number here
slave {
pcm "hw:0,0"
period_time 0
buffer_time 0
period_size 2048 # jm: much smoother than 1024/8192!
buffer_size 32768
rate 48000
}
bindings {
0 0 # from 0 => to 0
1 1 # from 1 => to 1
}
}
pcm.dsp0 {
type plug
slave.pcm "swmixer"
}
# this makes native ALSA apps default to using dmix
pcm.!default {
type plug
slave.pcm "swmixer"
}
ctl.dsp0 {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
回复

使用道具 举报

发表于 2005-7-6 20:29:56 | 显示全部楼层
hejux, 弓虽
回复

使用道具 举报

发表于 2005-7-6 23:09:45 | 显示全部楼层
过奖了
这个配置文件是irc上一个老外给我的  
回复

使用道具 举报

发表于 2005-7-7 00:06:26 | 显示全部楼层
大家都不去linuxsir的么
http://fanqiang.chinaunix.net/system/linux/2005-05-16/3246.shtml
回复

使用道具 举报

发表于 2005-7-7 23:14:54 | 显示全部楼层
[quote:18c65fbd34="hejux"]第四步 让多个播放器能同时发声
安装了alsa-base就能让多个播放器同时发声了,但还要配置一下
#cd ~/ -----------进入个人文件夹
#nano .asoundrc ----------前面带.的是隐藏文件,is -a 可以列出隐藏文件,创建这个文件 添加下面的代码可以使多个音频流同时播放

pcm.swmixer {
type dmix
ipc_key 12345 # any unique number here
slave {
pcm "hw:0,0"
period_time 0
buffer_time 0
period_size 2048 # jm: much smoother than 1024/8192!
buffer_size 32768
rate 48000
}
bindings {
0 0 # from 0 => to 0
1 1 # from 1 => to 1
}
}
pcm.dsp0 {
type plug
slave.pcm "swmixer"
}
# this makes native ALSA apps default to using dmix
pcm.!default {
type plug
slave.pcm "swmixer"
}
ctl.dsp0 {
type hw
card 0
}
ctl.!default {
type hw
card 0
}[/quote]
说真的,我用这个还是没搞定,大家知道为什么吗?有没有其它的解决方案?
THX
回复

使用道具 举报

发表于 2005-7-7 23:34:58 | 显示全部楼层
楼上的
是不是bmp没有设置输出插件为alsa ?
安装了 alsa-base alsa-utils alsaplayer 吗?
回复

使用道具 举报

发表于 2005-7-7 23:52:59 | 显示全部楼层
我的是sblive,支持硬件混音,从没遇到问题过
回复

使用道具 举报

发表于 2005-7-8 02:42:55 | 显示全部楼层
如果有一天你有了本本
回复

使用道具 举报

发表于 2005-7-8 19:27:40 | 显示全部楼层
如果有一天你有了本本

然后.........咋滴??
回复

使用道具 举报

发表于 2005-7-8 21:42:35 | 显示全部楼层
[quote:13a050c4aa="linky_fan"]
如果有一天你有了本本

然后.........咋滴??[/quote]
我就可以用本本灌水了
回复

使用道具 举报

发表于 2005-7-8 21:48:30 | 显示全部楼层
我就可以用本本灌水了 Laughing

唉, 水货呀水货
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-3 09:33 , Processed in 0.048540 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表