LinuxSir.cn,穿越时空的Linuxsir!

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

终于在gcc4下编译成功了mplayer,可启动后无法启用音频设备,不论怎么设置都不行啊,请教

[复制链接]
发表于 2006-3-30 21:42:33 | 显示全部楼层 |阅读模式
终于在gcc4下编译成功了mplayer,可启动后无法启用音频设备,不论怎么设,都不能用哦~~

Audio选项里有:
mpegp         DVB audio output
oss               OSS /ioctl autio output
pcm              RAW PCM/WAVE file writer audio output


只有选择oss 后,才可以配置“Configure driver”,可总是配置无法使用,我KDE里是有声音的。

解决方法:

安装alsa-*,alsa-oss驱动支持,然后修改/dev/dsp 权限,让你使用的用户具有写权限,我的设置是:

samba:/home/zhang# chmod 666 /dev/dsp
samba:/home/zhang# dir /dev/ds*
crw-rw-rw-  1 root audio 14, 3 2006-03-31 06:40 /dev/dsp

gmplayer使用OSS驱动,就可以正常输出声音了~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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