mirror of https://github.com/mpv-player/mpv
81e60cd6bb
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 |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile | ||
afmt.c | ||
afmt.h | ||
ao_alsa1x.c | ||
ao_alsa5.c | ||
ao_alsa9.c | ||
ao_arts.c | ||
ao_dxr2.c | ||
ao_esd.c | ||
ao_macosx.c | ||
ao_mpegpes.c | ||
ao_nas.c | ||
ao_null.c | ||
ao_oss.c | ||
ao_pcm.c | ||
ao_plugin.c | ||
ao_sdl.c | ||
ao_sgi.c | ||
ao_sun.c | ||
ao_win32.c | ||
audio_out.c | ||
audio_out.h | ||
audio_out_internal.h | ||
audio_plugin.h | ||
audio_plugin_internal.h | ||
eq.h | ||
filter.h | ||
fir.h | ||
firfilter.c | ||
pl_delay.c | ||
pl_eq.c | ||
pl_extrastereo.c | ||
pl_format.c | ||
pl_resample.c | ||
pl_surround.c | ||
pl_volnorm.c | ||
pl_volume.c | ||
remez.c | ||
remez.h |