From 13dd93aca1ff78d191aadea9fccd88ff859b8fbf Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 10 Mar 2018 18:57:38 +0530 Subject: [PATCH] meson: Add deviceprovider changes to directsoundsink These were missed when they were added to Makefile.am --- sys/directsound/meson.build | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys/directsound/meson.build b/sys/directsound/meson.build index eed3ffd..4b2144b 100644 --- a/sys/directsound/meson.build +++ b/sys/directsound/meson.build @@ -1,14 +1,22 @@ 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, + c_args : gst_plugins_good_args + directsoundsink_device_flags, include_directories : [configinc], dependencies : [gstaudio_dep] + directsoundsink_dep, install : true, -- 2.7.4