mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
meson: Add deviceprovider changes to directsoundsrc
These were missed when they were added to Makefile.am
This commit is contained in:
parent
a2f5485893
commit
1019537344
1 changed files with 10 additions and 1 deletions
|
@ -1,14 +1,23 @@
|
||||||
directsoundsrc_sources = [
|
directsoundsrc_sources = [
|
||||||
'gstdirectsoundsrc.c',
|
'gstdirectsoundsrc.c',
|
||||||
|
'gstdirectsounddevice.c',
|
||||||
'gstdirectsoundplugin.c',
|
'gstdirectsoundplugin.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
directsoundsrc_device_flags = [
|
||||||
|
'-DGstDirectSoundDeviceProvider=GstDirectSoundSrcDeviceProvider',
|
||||||
|
'-DGstDirectSoundDeviceProviderClass=GstDirectSoundSrcDeviceProviderClass',
|
||||||
|
'-DGstDirectSoundDevice=GstDirectSoundSrcDevice',
|
||||||
|
'-DGstDirectSoundDeviceClass=GstDirectSoundSrcDeviceClass',
|
||||||
|
'-DGST_DIRECTSOUND_SRC_DEVICE_PROVIDER=1'
|
||||||
|
]
|
||||||
|
|
||||||
if host_system == 'windows' and cc.has_header('dsound.h')
|
if host_system == 'windows' and cc.has_header('dsound.h')
|
||||||
directsoundsrc_dep = [cc.find_library('dsound'), cc.find_library('winmm'), cc.find_library('ole32')]
|
directsoundsrc_dep = [cc.find_library('dsound'), cc.find_library('winmm'), cc.find_library('ole32')]
|
||||||
|
|
||||||
gstdirectsoundsrc = library('gstdirectsoundsrc',
|
gstdirectsoundsrc = library('gstdirectsoundsrc',
|
||||||
directsoundsrc_sources,
|
directsoundsrc_sources,
|
||||||
c_args : gst_plugins_bad_args,
|
c_args : gst_plugins_bad_args + directsoundsrc_device_flags,
|
||||||
include_directories : [configinc],
|
include_directories : [configinc],
|
||||||
dependencies : [gstaudio_dep] + directsoundsrc_dep,
|
dependencies : [gstaudio_dep] + directsoundsrc_dep,
|
||||||
install : true,
|
install : true,
|
||||||
|
|
Loading…
Reference in a new issue