LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: kofshower

刚刚修正xmms2播放器esperanza-git的PKGBUILD

[复制链接]
发表于 2008-11-17 19:48:55 | 显示全部楼层
恩,不错,加了这个选项连续放了一个多小时了,还是基本上2% 3%,挺满意的。
xmms2 config alsa.device = hw:0

还有那个PKGBUILD编译没通过,貌似最后出错了,但是反正我也不用ui,就算了。
感谢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-17 20:28:35 | 显示全部楼层
呵呵,我也没用ui了。偶尔用用blastware选歌,生成playlist
回复 支持 反对

使用道具 举报

发表于 2008-11-19 09:46:56 | 显示全部楼层
还是有问题,上次没注意到,加了 config alsa.device = hw:0 以后,声卡就以独占方式打开了,别的程序都不能发生了,改成 alsa.device = default,cpu就又上去了.
我的笔记本是hda-intel的声卡,有什么好办法么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-20 09:39:41 | 显示全部楼层
Post by inadavid;1910545
还是有问题,上次没注意到,加了 config alsa.device = hw:0 以后,声卡就以独占方式打开了,别的程序都不能发生了,改成 alsa.device = default,cpu就又上去了.
我的笔记本是hda-intel的声卡,有什么好办法么?

暂时不行,等下一个版本,或是换oss。 我先忍了,因为我用的音频软件基本都是独占的。比如audacity。 而我的alsa是编译进内核的。不能patch,所以我还是alsa。 其实可以用oss的话,也很不错阿,wiki上有,对比alsa还是有些优势的,比如音质。http://wiki.archlinux.org/index.php/OSS
回复 支持 反对

使用道具 举报

发表于 2008-12-21 21:03:45 | 显示全部楼层
$ xmms2 config alsa.device = front:CARD=Intel

或者

$ xmms2 config alsa.device = hw:0
后 都没有声音了,xmms2也没有了
别的程序也没有了 alsa.device = default 也不行了
晕倒
回复 支持 反对

使用道具 举报

发表于 2008-12-21 21:09:50 | 显示全部楼层
--- Starting new xmms2d ---
INFO: ../src/xmms/log.c:36: Initialized logging system
ERROR: ../src/xmms/ipc.c:938: Couldn't setup IPC listening on 'unix:///tmp/xmms-ipc-jeff'.
FATAL: ../src/xmms/main.c:484: IPC failed to init!

变成这样了,都default了
还是所有的程序 不能发声音 xmms2没有进程的情况下
回复 支持 反对

使用道具 举报

发表于 2008-12-21 21:21:09 | 显示全部楼层
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: nVidia Corporation G94 [GeForce 9600 GT] (rev a1)
03:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

怎么还原到原来的状态阿
回复 支持 反对

使用道具 举报

发表于 2008-12-22 18:26:26 | 显示全部楼层
原来config下面还有 删掉就好了
回复 支持 反对

使用道具 举报

发表于 2009-1-28 22:56:06 | 显示全部楼层
还是用oss了

关于使用oss带来的声卡独占问题,可使用以下方法解决
在/etc/profile中添加一行
export LD_PRELOAD="/usr/lib/libaoss.so"即可
回复 支持 反对

使用道具 举报

发表于 2009-1-29 01:04:46 | 显示全部楼层
解决oss声卡独占?

编译所有依赖alsa-libs的就可以了。。。嘿嘿
回复 支持 反对

使用道具 举报

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

本版积分规则

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