From 04a4ca4217e9b30342d5865024c340013d7184e8 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Fri, 1 Jun 2012 10:49:51 -0700 Subject: Was calculating measured warmup time wrong Bug: 6592923 Change-Id: I980c6fc69d78c569147ea44ce33a7f8a41739c91 --- services/audioflinger/FastMixer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'services/audioflinger/FastMixer.cpp') 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 @@ bool FastMixer::threadLoop() coldGen = current->mColdGen; bounds = 0; full = false; + oldTsValid = !clock_gettime(CLOCK_MONOTONIC, &oldTs); } else { sleepNs = FAST_HOT_IDLE_NS; } -- cgit v1.1