解決 linux 下 realplay沒有聲音的問題
參考:http://my.opera.com/FlyingCore/blog/2007/03/22/ubuntu-realplayer
要安裝 alsa-oss
尋找
if [ -n "$DEBUG" -a -x "$CATCHSEGV" ]; then
$CATCHSEGV $REALPLAYBIN ${1+"$@"}
else
while /bin/true; do
# Restart the player if exit code is 10
$REALPLAYBIN "$@"
if [ $? -ne 10 ]; then
break
fi
done
fi
取代為
if [ -n "$DEBUG" -a -x "$CATCHSEGV" ]; then
$CATCHSEGV $REALPLAYBIN ${1+"$@"}
else
while /bin/true; do
# Restart the player if exit code is 10
aoss $REALPLAYBIN "$@"
if [ $? -ne 10 ]; then
break
fi
done
fi
主要是加入 aoss,讓系統使用 alsa-oss 開啟 RealPlayer.
要安裝 alsa-oss
sudo apt-get install alsa-oss編輯 /opt/realplayer/realplay 或 /usr/bin/realplay
尋找
if [ -n "$DEBUG" -a -x "$CATCHSEGV" ]; then
$CATCHSEGV $REALPLAYBIN ${1+"$@"}
else
while /bin/true; do
# Restart the player if exit code is 10
$REALPLAYBIN "$@"
if [ $? -ne 10 ]; then
break
fi
done
fi
取代為
if [ -n "$DEBUG" -a -x "$CATCHSEGV" ]; then
$CATCHSEGV $REALPLAYBIN ${1+"$@"}
else
while /bin/true; do
# Restart the player if exit code is 10
aoss $REALPLAYBIN "$@"
if [ $? -ne 10 ]; then
break
fi
done
fi
主要是加入 aoss,讓系統使用 alsa-oss 開啟 RealPlayer.
留言