commit | 04a4ca4217e9b30342d5865024c340013d7184e8 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Fri Jun 01 10:49:51 2012 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Fri Jun 01 10:51:34 2012 -0700 |
tree | 5e212501d1b93a5eedad01410dc863fef49ec258 | |
parent | dadc0ddbfe309086801b479ddc91c55eeb2a9cbb [diff] |
Was calculating measured warmup time wrong Bug: 6592923 Change-Id: I980c6fc69d78c569147ea44ce33a7f8a41739c91
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index 52effb2..b0af6ed 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp
@@ -161,6 +161,7 @@ coldGen = current->mColdGen; bounds = 0; full = false; + oldTsValid = !clock_gettime(CLOCK_MONOTONIC, &oldTs); } else { sleepNs = FAST_HOT_IDLE_NS; }