From 5f80e3f91ad810f7ce03147d24280eecadf494f0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 11 Sep 2014 01:56:20 +0200 Subject: 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. --- wscript | 5 ----- 1 file changed, 5 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 1542780995..586f2cddf0 100644 --- a/wscript +++ b/wscript @@ -458,11 +458,6 @@ audio_output_features = [ 'func': check_true, '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', -- cgit v1.2.3