summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorHaynes Mathew George <hgeorge@codeaurora.org>2013-12-27 16:09:28 -0800
committerEric Laurent <elaurent@google.com>2014-03-04 15:58:25 -0800
commite0cd1051ed9fea0629745c29020516ae62298461 (patch)
tree03273a98e8fc21f916bd0de1163913c51171b953 /services
parente010f65e6337267cb15f8894c950a3f64370dd36 (diff)
downloadframeworks_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
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/Tracks.cpp2
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;
}