mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
13dd93aca1
These were missed when they were added to Makefile.am
24 lines
892 B
Meson
24 lines
892 B
Meson
directsoundsink_sources = [
|
|
'gstdirectsoundsink.c',
|
|
'gstdirectsounddevice.c',
|
|
'gstdirectsoundplugin.c',
|
|
]
|
|
|
|
directsoundsink_device_flags = [
|
|
'-DGstDirectSoundDeviceProvider=GstDirectSoundSinkDeviceProvider',
|
|
'-DGstDirectSoundDeviceProviderClass=GstDirectSoundSinkDeviceProviderClass',
|
|
'-DGstDirectSoundDevice=GstDirectSoundSinkDevice',
|
|
'-DGstDirectSoundDeviceClass=GstDirectSoundSinkDeviceClass',
|
|
]
|
|
|
|
if host_machine.system() == 'windows' and cc.has_header('dsound.h')
|
|
directsoundsink_dep = [cc.find_library('dsound'), cc.find_library('winmm'), cc.find_library('ole32')]
|
|
|
|
gstdirectsoundsink = library('gstdirectsound',
|
|
directsoundsink_sources,
|
|
c_args : gst_plugins_good_args + directsoundsink_device_flags,
|
|
include_directories : [configinc],
|
|
dependencies : [gstaudio_dep] + directsoundsink_dep,
|
|
install : true,
|
|
install_dir : plugins_install_dir)
|
|
endif
|