[pulseaudio-commits] [Git][pulseaudio/webrtc-audio-processing][master] build: Split out iSAC VAD sources into a separate dependency

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Sat Jun 19 17:08:05 UTC 2021



PulseAudio Marge Bot pushed to branch master at PulseAudio / webrtc-audio-processing


Commits:
6e37f37c by Arun Raghavan at 2021-06-19T13:06:12-04:00
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.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/22>

- - - - -


2 changed files:

- webrtc/modules/audio_coding/meson.build
- webrtc/modules/audio_processing/meson.build


Changes:

=====================================
webrtc/modules/audio_coding/meson.build
=====================================
@@ -1,3 +1,12 @@
+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,


=====================================
webrtc/modules/audio_processing/meson.build
=====================================
@@ -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,



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/6e37f37c4ea8790760b4c55d9ce9024a7e7bf260

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/6e37f37c4ea8790760b4c55d9ce9024a7e7bf260
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210619/57e03e29/attachment-0001.htm>


More information about the pulseaudio-commits mailing list