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. --- old-configure | 3 --- 1 file changed, 3 deletions(-) (limited to 'old-configure') diff --git a/old-configure b/old-configure index 16890b4a55..8958857930 100755 --- a/old-configure +++ b/old-configure @@ -213,7 +213,6 @@ options_state_machine() { opt_yes_no _portaudio "PortAudio audio output" opt_yes_no _jack "JACK audio output" opt_yes_no _openal "OpenAL audio output" - opt_yes_no _select "using select() on the audio device" yes opt_yes_no _shm "X11/Xv shared memory" opt_yes_no _lua "Lua scripting" opt_yes_no _encoding "encoding functionality" yes @@ -542,8 +541,6 @@ define_yes_no $_termios_ok HAVE_TERMIOS check_statement_libs "shm" $_shm SHM "sys/types.h sys/ipc.h sys/shm.h" \ "shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0);" -check_trivial "audio select()" $_select AUDIO_SELECT - echocheck "pkg-config" if $($_pkg_config --version > /dev/null 2>&1); then if test "$_ld_static"; then -- cgit v1.2.3