diff options
author | Haynes Mathew George <hgeorge@codeaurora.org> | 2013-12-27 16:09:28 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-03-04 15:58:25 -0800 |
commit | e0cd1051ed9fea0629745c29020516ae62298461 (patch) | |
tree | 03273a98e8fc21f916bd0de1163913c51171b953 | |
parent | e010f65e6337267cb15f8894c950a3f64370dd36 (diff) | |
download | frameworks_av-e0cd1051ed9fea0629745c29020516ae62298461.zip frameworks_av-e0cd1051ed9fea0629745c29020516ae62298461.tar.gz frameworks_av-e0cd1051ed9fea0629745c29020516ae62298461.tar.bz2 |
audioflinger: update track ready condition
Signal track ready if the track isStopping().
Bug: 12423190
Change-Id: I95e14905df10ebf301e398263478c8ca25d7e2ce
-rw-r--r-- | services/audioflinger/Tracks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp index af04ce7..d6b9908 100644 --- a/services/audioflinger/Tracks.cpp +++ b/services/audioflinger/Tracks.cpp @@ -551,7 +551,7 @@ size_t AudioFlinger::PlaybackThread::Track::framesReleased() const // Don't call for fast tracks; the framesReady() could result in priority inversion bool AudioFlinger::PlaybackThread::Track::isReady() const { - if (mFillingUpStatus != FS_FILLING || isStopped() || isPausing()) { + if (mFillingUpStatus != FS_FILLING || isStopped() || isPausing() || isStopping()) { return true; } |