mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
9078a3a41d
Was missing device prober and avrt (on msvc)
20 lines
577 B
Meson
20 lines
577 B
Meson
wasapi_sources = [
|
|
'gstwasapi.c',
|
|
'gstwasapisrc.c',
|
|
'gstwasapisink.c',
|
|
'gstwasapiutil.c',
|
|
'gstwasapidevice.c',
|
|
]
|
|
|
|
if host_system == 'windows' and cc.has_header('audioclient.h')
|
|
wasapi_dep = [cc.find_library('ole32'), cc.find_library('ksuser'),
|
|
cc.find_library('avrt', required : false)]
|
|
|
|
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
|