diff options
author | Glenn Kasten <gkasten@google.com> | 2014-05-13 23:49:30 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-13 23:49:30 +0000 |
commit | 2d859b91a59b4f6d63ff2bd93b462cab60f4a8d7 (patch) | |
tree | 5a139a9ce93e633c4f6b3fe8cd53f3b0095a22d1 /services | |
parent | 050eb3280d7305b84f723d515be2dc9606dc39d1 (diff) | |
parent | 963698408b1ce0f2ac7eab1e863dc7271de116a3 (diff) | |
download | frameworks_av-2d859b91a59b4f6d63ff2bd93b462cab60f4a8d7.zip frameworks_av-2d859b91a59b4f6d63ff2bd93b462cab60f4a8d7.tar.gz frameworks_av-2d859b91a59b4f6d63ff2bd93b462cab60f4a8d7.tar.bz2 |
Merge "Fix memory corruption if increaseSamplingN is not called"
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/FastThreadState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ FastThreadDumpState::FastThreadDumpState() : /* mMeasuredWarmupTs({0, 0}), */ mWarmupCycles(0) #ifdef FAST_MIXER_STATISTICS - , mSamplingN(0), mBounds(0) + , mSamplingN(1), mBounds(0) #endif { mMeasuredWarmupTs.tv_sec = 0; |