LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1427|回复: 14

求助:audacious在播放时,mplayer就不能播放声音

[复制链接]
发表于 2007-4-26 22:15:05 | 显示全部楼层 |阅读模式
我用audacious在放歌时,再打开mplayer播放电影,mplayer就会报错,说
could not open/initialize audio device -> not sound
在mplayer的插件中选哪个都不行?
怎么办??上次还可以的
发表于 2007-4-26 22:27:46 | 显示全部楼层
本人也遇到了类似的问题,用XMMS听歌,就不能用mplayer看电影了。希望有高手指点。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-26 22:33:21 | 显示全部楼层
但是好像打开网页时,如果里面的flash有声音,它又可以播放,不是说alsa已经支持4音频了吗
回复 支持 反对

使用道具 举报

发表于 2007-4-26 22:38:16 | 显示全部楼层
我的没问题,不过我不用mplayer,我用audacious放歌时,用gxine听电台都有声。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-26 22:49:26 | 显示全部楼层
楼上的怎么搞的,我的是intel的集成声卡,是ac97的,我是按wiki中的教程安装的驱动,本来想用精华里的oss来解决多音频的问题,但是那个是试用的,就不想用了,其实也不会一边听mp3一边看电影,但不搞好来心里就是不爽
回复 支持 反对

使用道具 举报

发表于 2007-4-26 23:09:18 | 显示全部楼层
不要用oss的,看见alsa的就选。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-26 23:15:59 | 显示全部楼层
现在更惨了,找了个论坛http://www.linuxquestions.org/questions/showthread.php?t=154031
执行了里面的
chmod -R 777 /dev/dsp 和 chmod -R 777 /dev/mixer
现在一启动mplayer后,一选要播放的文件就自动退出了,还以为mplayer有问题,就删除了,装了个gxine,gxine一启动,提示界面一选完就自动退出了,用命令执行gxine后,报下面的错:
[xiegz@ArchLinux ~]$ gxine
The program 'gxine' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 374 error_code 11 request_code 141 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[xiegz@ArchLinux ~]$
回复 支持 反对

使用道具 举报

发表于 2007-4-26 23:23:27 | 显示全部楼层
我是用/etc/asound.conf搞定混音的。archlinux的中文站有文章。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-26 23:25:40 | 显示全部楼层
我也试过/etc/asound.conf,不过没用,不知为什么,并且加了/etc/asound.conf这个文件后,我的beryl都启动不了
回复 支持 反对

使用道具 举报

发表于 2007-4-26 23:34:20 | 显示全部楼层
rm /dev/dsp
我的打开mplayer会提示没有/dev/dsp,但可以正常使用。建一个/dev/dsp在chmod -R 777 /dev/dsp后后mplayer会死掉,rm /dev/dsp后又可以
totem和gxine正常,可以同时开两个播放器
回复 支持 反对

使用道具 举报

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

本版积分规则

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