mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
meson: Fix wasapi build on Windows
Was missing device prober and avrt (on msvc)
This commit is contained in:
parent
69b90224fa
commit
9078a3a41d
1 changed files with 3 additions and 1 deletions
|
@ -3,10 +3,12 @@ wasapi_sources = [
|
|||
'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')]
|
||||
wasapi_dep = [cc.find_library('ole32'), cc.find_library('ksuser'),
|
||||
cc.find_library('avrt', required : false)]
|
||||
|
||||
gstwasapi = library('gstwasapi',
|
||||
wasapi_sources,
|
||||
|
|
Loading…
Reference in a new issue