diff options
author | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-21 09:49:05 +0000 |
---|---|---|
committer | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-21 09:49:05 +0000 |
commit | 81e60cd6bbb8c353d75022f3f35f04e8a173fb2f (patch) | |
tree | bd71e4815dbb4c1de560a23b51bb8cbbd00923a6 /vidix/drivers | |
parent | 5df4253e55e13b685df4e38a5282a5dd59058dce (diff) | |
download | mpv-81e60cd6bbb8c353d75022f3f35f04e8a173fb2f.tar.bz2 mpv-81e60cd6bbb8c353d75022f3f35f04e8a173fb2f.tar.xz |
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).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10899 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/drivers')
0 files changed, 0 insertions, 0 deletions