|
|
发表于 2009-1-29 02:23:29
|
显示全部楼层
Post by jarryson;1942071
解决oss声卡独占?
编译所有依赖alsa-libs的就可以了。。。嘿嘿
编译所有依赖alsa-libs,好麻烦的亚
我的方法是根据aoss脚本得到启示的
cat /usr/bin/aoss
[PHP]
#!/bin/sh
# A simple script to facilitate the use of the OSS compatibility library.
# Usage:
# aoss <command> <command options and arguments>
if [ -d /proc/asound ]; then
prefix=/usr
exec_prefix=${prefix}
LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+ LD_PRELOAD} exec "$@"
else
exec "$@"
fi
exit 1[/PHP] |
|