Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(935)

Unified Diff: webrtc/modules/audio_processing/audio_processing.gypi

Issue 2272423003: Deactivated the intelligibility enhancement functionality by default (Closed)
Patch Set: Put conditional building on the intelligibility_proc executable Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/audio_processing.gypi
diff --git a/webrtc/modules/audio_processing/audio_processing.gypi b/webrtc/modules/audio_processing/audio_processing.gypi
index 3cfc727020bbd4796135f13a5d15c204030f14bb..d67f74ff6e2989f075b95437417a785980fc4345 100644
--- a/webrtc/modules/audio_processing/audio_processing.gypi
+++ b/webrtc/modules/audio_processing/audio_processing.gypi
@@ -11,6 +11,9 @@
'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/audio_processing/asm_offsets',
# Outputs some low-level debug files.
'aec_debug_dump%': 0,
+
+ # Chooses whether the intelligibility enhancer should be used.
+ 'intelligibility_enhancer': 0,
kjellander_webrtc 2016/08/26 12:52:01 This won't be useful as it'll always be set to 0.
peah-webrtc 2016/08/26 13:09:43 Great point! Done.
},
'targets': [
{
@@ -85,10 +88,6 @@
'high_pass_filter_impl.cc',
'high_pass_filter_impl.h',
'include/audio_processing.h',
- 'intelligibility/intelligibility_enhancer.cc',
- 'intelligibility/intelligibility_enhancer.h',
- 'intelligibility/intelligibility_utils.cc',
- 'intelligibility/intelligibility_utils.h',
'level_controller/biquad_filter.cc',
'level_controller/biquad_filter.h',
'level_controller/down_sampler.cc',
@@ -184,6 +183,17 @@
'dependencies': ['audioproc_debug_proto'],
'defines': ['WEBRTC_AUDIOPROC_DEBUG_DUMP'],
}],
+ ['intelligibility_enhancer==1', {
+ 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=1',],
+ 'sources': [
+ 'intelligibility/intelligibility_enhancer.cc',
+ 'intelligibility/intelligibility_enhancer.h',
+ 'intelligibility/intelligibility_utils.cc',
+ 'intelligibility/intelligibility_utils.h',
+ ],
+ }, {
+ 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=0',],
+ }],
['prefer_fixed_point==1', {
'defines': ['WEBRTC_NS_FIXED'],
'sources': [

Powered by Google App Engine
This is Rietveld 408576698