path: root/old-configure
diff options
authorwm4 <wm4@nowhere>2014-09-11 01:56:20 +0200
committerwm4 <wm4@nowhere>2014-09-11 02:03:15 +0200
commit5f80e3f91ad810f7ce03147d24280eecadf494f0 (patch)
tree7995fbd317974efb5de8fd57864937407c613e41 /old-configure
parentf744aadb776dc8269ae6f4cc54c239c548e19a49 (diff)
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 'old-configure')
1 files changed, 0 insertions, 3 deletions
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