2024-03-19 23:04:15 +00:00
|
|
|
if cc.get_define('_MSC_VER') != ''
|
|
|
|
webrtc_audio_coding_dep = dependency('webrtc-audio-coding-1', required: get_option('isac'), default_options: ['default_library=static'])
|
|
|
|
else
|
|
|
|
webrtc_audio_coding_dep = dependency('webrtc-audio-coding-1', required: get_option('isac'))
|
|
|
|
endif
|
|
|
|
|
2020-03-19 14:07:47 +00:00
|
|
|
|
|
|
|
if webrtc_audio_coding_dep.found()
|
|
|
|
isac_sources = [
|
|
|
|
'gstisac.c',
|
|
|
|
'gstisacenc.c',
|
|
|
|
'gstisacdec.c',
|
|
|
|
'gstisacutils.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
gstisac = library('gstisac', isac_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep, webrtc_audio_coding_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
plugins += [gstisac]
|
|
|
|
endif
|