summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Tracks.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-08-20 08:48:54 -0700
committerGlenn Kasten <gkasten@google.com>2014-08-26 11:45:42 -0700
commitefaa7ab620b2ee936efa4fb74dc4c670ed757a46 (patch)
treed6af179bd5e333f3d392baf525b2a18dd4edd238 /services/audioflinger/Tracks.cpp
parent16681c8f4afa5f18649ed934c9d84198516a1054 (diff)
downloadframeworks_av-efaa7ab620b2ee936efa4fb74dc4c670ed757a46.zip
frameworks_av-efaa7ab620b2ee936efa4fb74dc4c670ed757a46.tar.gz
frameworks_av-efaa7ab620b2ee936efa4fb74dc4c670ed757a46.tar.bz2
Clear the timestamp latch valid flag if no new timestamp available
Bug: 11815245 Change-Id: I94885a1b4c2c7c055b8eacc7f7d0fcd064094b6d
Diffstat (limited to 'services/audioflinger/Tracks.cpp')
-rw-r--r--services/audioflinger/Tracks.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp
index c5ab832..6482f68 100644
--- a/services/audioflinger/Tracks.cpp
+++ b/services/audioflinger/Tracks.cpp
@@ -853,6 +853,7 @@ void AudioFlinger::PlaybackThread::Track::reset()
if (mState == FLUSHED) {
mState = IDLE;
}
+ mPreviousValid = false;
}
}