1 oss_header_locations = [
2 # Linux and newer BSD versions
3 ['sys/soundcard.h', 'HAVE_OSS_INCLUDE_IN_SYS', 'OSS includes are in sys/'],
4 # Some old BSD versions and also newer OpenBSD versions
5 ['soundcard.h', 'HAVE_OSS_INCLUDE_IN_ROOT', 'OSS includes are in root'],
6 # Some old BSD versions
7 ['machine/soundcard.h', 'HAVE_OSS_INCLUDE_IN_MACHINE', 'OSS includes are in machine/'],
11 foreach hdr : oss_header_locations
13 if cc.has_header(hdr[0])
14 cdata.set(hdr[1], 1, description: hdr[2])
21 library('gstossaudio',
22 'gstossaudio.c', 'gstosshelper.c', 'gstosssink.c', 'gstosssrc.c',
23 c_args : gst_plugins_good_args,
24 include_directories : [configinc, libsinc],
25 dependencies : [gstaudio_dep, gstbase_dep],
27 install_dir : plugins_install_dir)