From 5c038e69997affd46430970f943a604b92ee96df Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 22 Jun 2017 10:30:11 +0200 Subject: build: simplify OSS checks and remove changes by "bugmen0t" The user bugmen0t was apparently a shared github account with publicly available login. Thus, we can't get LGPL relicensing permission from the people who used this account. To relicense successfully, we have to remove all their changes. This commit should remove 20d1fc13, f26fb009, defbe48d. It also should remove whatever test fragments were copied from the ancient configure, as well as some configure logic (potentially that device path stuff). I think this change still preserves the most important use-cases of OSS: BSDs, and the Linux OSS emulation (the latter for testing only). According to an OSS user, the 4front checks were probably broken anyway. The SunAudio stuff was probably for (Open)Solaris, which is dead. ao_oss.c itself will remain GPL, and still contains bugmen0t changes. --- audio/out/ao_oss.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'audio') diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c index aee4357075..1478d1400e 100644 --- a/audio/out/ao_oss.c +++ b/audio/out/ao_oss.c @@ -42,13 +42,7 @@ #include "osdep/timer.h" #include "osdep/endian.h" -#if HAVE_SYS_SOUNDCARD_H #include -#else -#if HAVE_SOUNDCARD_H -#include -#endif -#endif #include "audio/format.h" @@ -60,6 +54,9 @@ // Define to 1 if SNDCTL_DSP_RESET should be used to reset without close. #define KEEP_DEVICE (defined(SNDCTL_DSP_RESET) && !defined(__NetBSD__)) +#define PATH_DEV_DSP "/dev/dsp" +#define PATH_DEV_MIXER "/dev/mixer" + struct priv { int audio_fd; int prepause_samples; -- cgit v1.2.3