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:
3f65a84
)
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>
Wed, 8 Jan 2014 21:54:53 +0000
(13:54 -0800)
Signal track ready if the track isStopping().
Bug:
12423190
Change-Id: Ie279995d5f90fa8211a20dfbeacc1cf9b921d0bf
services/audioflinger/Tracks.cpp
patch
|
blob
|
history
diff --git
a/services/audioflinger/Tracks.cpp
b/services/audioflinger/Tracks.cpp
index
53196c8
..
a5b9ac5
100644
(file)
--- a/
services/audioflinger/Tracks.cpp
+++ b/
services/audioflinger/Tracks.cpp
@@
-564,7
+564,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;
}