Commit 13dd93ac authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜

meson: Add deviceprovider changes to directsoundsink

These were missed when they were added to Makefile.am
parent f1141a4a
directsoundsink_sources = [ directsoundsink_sources = [
'gstdirectsoundsink.c', 'gstdirectsoundsink.c',
'gstdirectsounddevice.c',
'gstdirectsoundplugin.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') 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')] directsoundsink_dep = [cc.find_library('dsound'), cc.find_library('winmm'), cc.find_library('ole32')]
gstdirectsoundsink = library('gstdirectsound', gstdirectsoundsink = library('gstdirectsound',
directsoundsink_sources, directsoundsink_sources,
c_args : gst_plugins_good_args, c_args : gst_plugins_good_args + directsoundsink_device_flags,
include_directories : [configinc], include_directories : [configinc],
dependencies : [gstaudio_dep] + directsoundsink_dep, dependencies : [gstaudio_dep] + directsoundsink_dep,
install : true, install : true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment