1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 21:31:52 +00:00
mpv/waftools/fragments
Stefano Pigozzi fa620ffc95 build: reimplement the OSS checks using a more declarative approach
The OSS checks were a big mess and quite buggy. This reimplementes them using
a declarative approach and clearly distinguishing between the various OSS
implementations. The code should now almost be auto-documenting.

We currently support the following implementations of OSS:
 * platform-specific (with `sys/soundcard.h`)
 * SunAudio (default on NetBSD and useable on OpenBSD even if we have sndio
   support there).
 * 4Front (default on FreeBSD)

Since now each OSS check also checks for the appropriate soundcard header,
remove the old soundcard check.

Many thanks to @bugmen0t for in depth info about all the BSDs.
Check #380 and #359 for more info on this commit.
2013-11-29 23:11:12 +01:00
..
cocoa.m
coreaudio.c
dvb.c
ebx.c
gl_x11.c
iconv.c
libavfilter.c build: use static instead of prototype in libavfilter fragment 2013-11-23 16:17:52 +01:00
lua_libquvi4.c
lua_libquvi9.c
lua.c build: fix missing prototypes in lua check fragment 2013-11-23 16:17:52 +01:00
oss_audio_sunaudio.c build: reimplement the OSS checks using a more declarative approach 2013-11-29 23:11:12 +01:00
oss_audio.c build: reimplement the OSS checks using a more declarative approach 2013-11-29 23:11:12 +01:00
pthreads.c
pvr.c
vcd_windows.c
wasapi.c
xf86vm.c
xf86xk.c