commit | 8cb192feee635eb4859eabf3b754427cd6785718 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Mon Sep 23 10:34:20 2019 -0700 |
committer | jiabin <jiabin@google.com> | Mon Dec 02 14:29:38 2019 -0800 |
tree | 2e034bbeae67c28c0cddf00e20b42997e6185245 | |
parent | f3d474d651818ecf5d45712d506c39b7e950ef60 [diff] [blame] |
Enable AUDIO_ARRAYS_STATIC_CHECK. Enable static check for audio arrays so that it can be earlier to catch if there is any error within the audio arrays. Bug: 135621476 Test: make Change-Id: I598311e0853ca77dff83fb97974e534adb238567 Merged-In: I598311e0853ca77dff83fb97974e534adb238567
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 9497416..1008263 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp
@@ -19,6 +19,9 @@ #define LOG_TAG "AudioFlinger" //#define LOG_NDEBUG 0 +// Define AUDIO_ARRAYS_STATIC_CHECK to check all audio arrays are correct +#define AUDIO_ARRAYS_STATIC_CHECK 1 + #include "Configuration.h" #include <dirent.h> #include <math.h>