Mercurial > mplayer.hg
view debian-build/mplayer.postinst.debhelper @ 10898:716edc005b18
patch from Pierre Lombard <p_l@gmx.fr>
If the sound channel is already busy the async open fails and returns
-EBUSY. There's no need to try to open it synchronously as it will block
mplayer till the sound channel is released.
(Granted there's a very slight chance your sound device happen to be
freed between those two calls but it's not the common case).
The behavior is changed by this oneliner to match the ao_oss behavior
(disable sound if the sound device is busy).
author | attila |
---|---|
date | Sun, 21 Sep 2003 09:49:05 +0000 |
parents | 33f43b0f24f7 |
children |
line wrap: on
line source
# Automatically added by dh_installdocs if [ "$1" = "configure" ]; then if [ -d /usr/doc -a ! -e /usr/doc/mplayer -a -d /usr/share/doc/mplayer ]; then ln -sf ../share/doc/mplayer /usr/doc/mplayer fi fi # End automatically added section # Automatically added by dh_installmenu if [ "$1" = "configure" -a -x /usr/bin/update-menus ]; then update-menus ; fi # End automatically added section