omegao 发表于 2005-7-5 15:03:13

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

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

linky_fan 发表于 2005-7-5 20:36:46

debian? gentoo? kde? gnome?
:arrow:

hejux 发表于 2005-7-5 23:32:28

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

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

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

这里面有关于 alsa 的 可以参考一下 :P

hejux 发表于 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
}

linky_fan 发表于 2005-7-6 20:29:56

hejux, 弓虽 :P

hejux 发表于 2005-7-6 23:09:45

过奖了
这个配置文件是irc上一个老外给我的:wink:

zhllg 发表于 2005-7-7 00:06:26

大家都不去linuxsir的么
http://fanqiang.chinaunix.net/system/linux/2005-05-16/3246.shtml

tiredboy 发表于 2005-7-7 23:14:54

第四步 让多个播放器能同时发声
安装了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
}
说真的,我用这个还是没搞定,大家知道为什么吗?有没有其它的解决方案?
THX

hejux 发表于 2005-7-7 23:34:58

楼上的
是不是bmp没有设置输出插件为alsa ?
安装了 alsa-base alsa-utils alsaplayer 吗?

cnhnln 发表于 2005-7-7 23:52:59

我的是sblive,支持硬件混音,从没遇到问题过 :mrgreen:

zhllg 发表于 2005-7-8 02:42:55

如果有一天你有了本本

linky_fan 发表于 2005-7-8 19:27:40


如果有一天你有了本本

然后.........咋滴??

cnhnln 发表于 2005-7-8 21:42:35


如果有一天你有了本本

然后.........咋滴??
我就可以用本本灌水了 :lol:

linky_fan 发表于 2005-7-8 21:48:30


我就可以用本本灌水了 Laughing

唉, 水货呀水货 :arrow:
页: [1]
查看完整版本: 关于alsa的问题,开机有声音但是realplay&bmp的