OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e010f65
)
audioflinger: update track ready condition
author
Haynes Mathew George
<hgeorge@codeaurora.org>
Sat, 28 Dec 2013 00:09:28 +0000
(16:09 -0800)
committer
Eric Laurent
<elaurent@google.com>
Tue, 4 Mar 2014 23:58:25 +0000
(15:58 -0800)
Signal track ready if the track isStopping().
Bug:
12423190
Change-Id: I95e14905df10ebf301e398263478c8ca25d7e2ce
services/audioflinger/Tracks.cpp
patch
|
blob
|
history
diff --git
a/services/audioflinger/Tracks.cpp
b/services/audioflinger/Tracks.cpp
index
af04ce7
..
d6b9908
100644
(file)
--- 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;
}