关于alsa的问题,开机有声音但是realplay&bmp的
关于alsa的问题,开机xine totem mplayer,bmp的esound插件有声音但是realplay&bmp的alsa插件不可用,必须alsaconf后才可以。lsmod前后模块没有什么变化,就是模块users项数值不一样 debian? gentoo? kde? gnome?:arrow:
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 第四步 让多个播放器能同时发声
安装了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
} hejux, 弓虽 :P 过奖了
这个配置文件是irc上一个老外给我的:wink: 大家都不去linuxsir的么
http://fanqiang.chinaunix.net/system/linux/2005-05-16/3246.shtml 第四步 让多个播放器能同时发声
安装了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 楼上的
是不是bmp没有设置输出插件为alsa ?
安装了 alsa-base alsa-utils alsaplayer 吗? 我的是sblive,支持硬件混音,从没遇到问题过 :mrgreen: 如果有一天你有了本本
如果有一天你有了本本
然后.........咋滴??
如果有一天你有了本本
然后.........咋滴??
我就可以用本本灌水了 :lol:
我就可以用本本灌水了 Laughing
唉, 水货呀水货 :arrow:
页:
[1]