diff options
author | wm4 <wm4@nowhere> | 2014-09-11 01:56:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-11 02:03:15 +0200 |
commit | 5f80e3f91ad810f7ce03147d24280eecadf494f0 (patch) | |
tree | 7995fbd317974efb5de8fd57864937407c613e41 /wscript | |
parent | f744aadb776dc8269ae6f4cc54c239c548e19a49 (diff) | |
download | mpv-5f80e3f91ad810f7ce03147d24280eecadf494f0.tar.bz2 mpv-5f80e3f91ad810f7ce03147d24280eecadf494f0.tar.xz |
ao_oss: use poll(), drop --disable-audio-select support
Replace select() usage with poll() (and reduce code duplication).
Also, while we're at it, drop --disable-audio-select, since it has the
wrong name anyway. And I have doubts that this is needed anywhere. If
it is, it should probably fallback to doing the right thing by default,
instead of requiring the user to do it manually. Since nobody has done
that yet, and since this configure option has been part of MPlayer ever
since ao_oss was added, it's probably safe to say it's not needed.
The '#ifdef SNDCTL_DSP_GETOSPACE' was pointless, since it's already used
unconditionally in another place.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -459,11 +459,6 @@ audio_output_features = [ 'deps_any': [ 'oss-audio-native', 'oss-audio-sunaudio', 'oss-audio-4front' ] }, { - 'name': '--audio-select', - 'desc': 'audio select()', - 'deps': [ 'oss-audio' ], - 'func': check_true, - }, { 'name': '--rsound', 'desc': 'RSound audio output', 'func': check_statement('rsound.h', 'rsd_init(NULL)', lib='rsound') |