summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorHaynes Mathew George <hgeorge@codeaurora.org>2014-03-05 01:24:09 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-05 01:24:09 +0000
commit7c206e5bd24b5ae4565d0e60b637458a1054dfcf (patch)
tree316b886b5c436f5cfa9d14cecab3d42013ca0b88 /services
parent21e81bca4d1e6f7d1ccac61b65da7c7a4a121064 (diff)
parente0cd1051ed9fea0629745c29020516ae62298461 (diff)
downloadframeworks_av-7c206e5bd24b5ae4565d0e60b637458a1054dfcf.zip
frameworks_av-7c206e5bd24b5ae4565d0e60b637458a1054dfcf.tar.gz
frameworks_av-7c206e5bd24b5ae4565d0e60b637458a1054dfcf.tar.bz2
am e0cd1051: audioflinger: update track ready condition
* commit 'e0cd1051ed9fea0629745c29020516ae62298461': audioflinger: update track ready condition
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;
}