commit | 963698408b1ce0f2ac7eab1e863dc7271de116a3 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Tue May 13 10:57:40 2014 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Tue May 13 13:26:30 2014 -0700 |
tree | a3b2d430f8a439f2c95ed17c8e7e9edd51a69fc0 | |
parent | 5e4c4f12337ff4d7ceb105bcd441bb7aea6ab070 [diff] [blame] |
Fix memory corruption if increaseSamplingN is not called Change-Id: Icbf9aaf68c25ba3330ceb79167bd776cf0342d0d
diff --git a/services/audioflinger/FastThreadState.cpp b/services/audioflinger/FastThreadState.cpp index d4d6255..6994872 100644 --- a/services/audioflinger/FastThreadState.cpp +++ b/services/audioflinger/FastThreadState.cpp
@@ -35,7 +35,7 @@ /* mMeasuredWarmupTs({0, 0}), */ mWarmupCycles(0) #ifdef FAST_MIXER_STATISTICS - , mSamplingN(0), mBounds(0) + , mSamplingN(1), mBounds(0) #endif { mMeasuredWarmupTs.tv_sec = 0;