Commit 78ba3635 authored by Arun Raghavan's avatar Arun Raghavan
Browse files

build: Split out iSAC VAD sources into a separate dependency

Avoid having to link webrtc-audio-processing with webrtc-audio-coding,
and makes the required symbols directly available.
parent b8ad0dfc
Pipeline #343039 passed with stages
in 1 minute and 12 seconds
isac_vad_sources = [
'codecs/isac/main/source/filter_functions.c',
'codecs/isac/main/source/isac_vad.c',
'codecs/isac/main/source/pitch_estimator.c',
'codecs/isac/main/source/pitch_filter.c',
]
isac_vad_dep = declare_dependency(sources: isac_vad_sources)
webrtc_audio_coding_sources = [
'codecs/isac/main/source/arith_routines.c',
'codecs/isac/main/source/arith_routines_hist.c',
......@@ -12,18 +21,14 @@ webrtc_audio_coding_sources = [
'codecs/isac/main/source/encode_lpc_swb.c',
'codecs/isac/main/source/entropy_coding.c',
'codecs/isac/main/source/filterbanks.c',
'codecs/isac/main/source/filter_functions.c',
'codecs/isac/main/source/intialize.c',
'codecs/isac/main/source/isac.c',
'codecs/isac/main/source/isac_vad.c',
'codecs/isac/main/source/lattice.c',
'codecs/isac/main/source/lpc_analysis.c',
'codecs/isac/main/source/lpc_gain_swb_tables.c',
'codecs/isac/main/source/lpc_shape_swb12_tables.c',
'codecs/isac/main/source/lpc_shape_swb16_tables.c',
'codecs/isac/main/source/lpc_tables.c',
'codecs/isac/main/source/pitch_estimator.c',
'codecs/isac/main/source/pitch_filter.c',
'codecs/isac/main/source/pitch_gain_tables.c',
'codecs/isac/main/source/pitch_lag_tables.c',
'codecs/isac/main/source/spectrum_ar_model_tables.c',
......@@ -32,7 +37,7 @@ webrtc_audio_coding_sources = [
libwebrtc_audio_coding = library(ac_project_name,
webrtc_audio_coding_sources,
dependencies: [base_dep, api_dep, common_audio_dep, system_wrappers_dep, fft_dep] + common_deps,
dependencies: [base_dep, api_dep, common_audio_dep, system_wrappers_dep, fft_dep, isac_vad_dep] + common_deps,
include_directories: webrtc_inc,
c_args: common_cflags,
cpp_args: common_cxxflags,
......
......@@ -199,7 +199,7 @@ libwebrtc_audio_processing = library(apm_project_name,
dependencies: [
base_dep,
api_dep,
webrtc_audio_coding_dep,
isac_vad_dep,
system_wrappers_dep,
common_audio_dep,
pffft_dep,
......
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