build-sys: meson: add oss-output option for OSS output support

Restore an option to disable OSS output available with autotools.
This commit is contained in:
Igor V. Kovalenko 2020-11-27 23:49:17 +03:00
parent 1e7adb4fdb
commit ecd597995a
4 changed files with 8 additions and 5 deletions

View file

@ -84,7 +84,7 @@ if x11_dep.found()
)
endif
if cc.has_header('sys/soundcard.h')
if get_option('oss-output')
libpulsecommon_sources = [
'padsp.c',
]