summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-06-03 14:40:55 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-03 14:40:55 -0700
commit81787e56f8f21407eade5accc50c6da39b8af9b2 (patch)
tree1d33021d28ad0c469e5a6adc98e7a7d097a65ad5 /services
parent7dc5b165d4f98a2059eaf1c7fec20b3b5773cd4c (diff)
parent04a4ca4217e9b30342d5865024c340013d7184e8 (diff)
Merge "Was calculating measured warmup time wrong" into jb-dev
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/FastMixer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp
index 52effb23..b0af6edc 100644
--- a/services/audioflinger/FastMixer.cpp
+++ b/services/audioflinger/FastMixer.cpp
@@ -161,6 +161,7 @@ bool FastMixer::threadLoop()
coldGen = current->mColdGen;
bounds = 0;
full = false;
+ oldTsValid = !clock_gettime(CLOCK_MONOTONIC, &oldTs);
} else {
sleepNs = FAST_HOT_IDLE_NS;
}