diff options
author | bjornv@webrtc.org <bjornv@webrtc.org> | 2014-09-23 11:21:39 +0000 |
---|---|---|
committer | bjornv@webrtc.org <bjornv@webrtc.org> | 2014-09-23 11:21:39 +0000 |
commit | ea29787df08679d0de6befce33b1d12048267d15 (patch) | |
tree | 06c73e8e74e7c3eb219b63aa65300c22927ac68e /webrtc/modules/audio_processing/audio_processing.gypi | |
parent | 0a2087a7110e2455ce68f2c85068df5ae447508f (diff) | |
download | webrtc-ea29787df08679d0de6befce33b1d12048267d15.tar.gz |
audio_processing/agc: Solved building with AGC_DEBUG + few style changes
webrtc did not build if AGC_DEBUG was turned on. This CL fixes that. Has no impact on performance since it is development/debug code.
* Name change to WEBRT_AGC_DEBUG_DUMP
* Added build flag agc_debug_dump to .gypi
* Added missing "%d" in printf at two places
* Some line length related style changes
Tested audioproc and modules_unittests with GYP_DEFINES=agc_debug_dump=1 webrtc/build/gyp_webrtc
BUG=N/A
TESTED=locally and trybots
R=aluebs@webrtc.org, kwiberg@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31429004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7271 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_processing/audio_processing.gypi')
-rw-r--r-- | webrtc/modules/audio_processing/audio_processing.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webrtc/modules/audio_processing/audio_processing.gypi b/webrtc/modules/audio_processing/audio_processing.gypi index 9298f118f9..9bbcfae7f8 100644 --- a/webrtc/modules/audio_processing/audio_processing.gypi +++ b/webrtc/modules/audio_processing/audio_processing.gypi @@ -21,6 +21,7 @@ 'variables': { # Outputs some low-level debug files. 'aec_debug_dump%': 0, + 'agc_debug_dump%': 0, # Disables the usual mode where we trust the reported system delay # values the AEC receives. The corresponding define is set appropriately @@ -93,6 +94,9 @@ ['aec_untrusted_delay_for_testing==1', { 'defines': ['WEBRTC_UNTRUSTED_DELAY',], }], + ['agc_debug_dump==1', { + 'defines': ['WEBRTC_AGC_DEBUG_DUMP',], + }], ['enable_protobuf==1', { 'dependencies': ['audioproc_debug_proto'], 'defines': ['WEBRTC_AUDIOPROC_DEBUG_DUMP'], |