2016-08-12 15:51:45 +00:00
|
|
|
wasapi_sources = [
|
|
|
|
'gstwasapi.c',
|
|
|
|
'gstwasapisrc.c',
|
|
|
|
'gstwasapisink.c',
|
|
|
|
'gstwasapiutil.c',
|
2018-02-08 09:11:05 +00:00
|
|
|
'gstwasapidevice.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if host_system == 'windows' and cc.has_header('audioclient.h')
|
2018-02-08 09:11:05 +00:00
|
|
|
wasapi_dep = [cc.find_library('ole32'), cc.find_library('ksuser'),
|
|
|
|
cc.find_library('avrt', required : false)]
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
gstwasapi = library('gstwasapi',
|
|
|
|
wasapi_sources,
|
|
|
|
c_args : gst_plugins_bad_args + ['-DCOBJMACROS'],
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep] + wasapi_dep,
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir)
|
|
|
|
endif
|