diff options
author | Glenn Kasten <gkasten@google.com> | 2012-11-15 14:13:16 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-11-15 14:17:48 -0800 |
commit | 4bd7e5436f9c308503d72e80804fb5637fda1584 (patch) | |
tree | d917b9196b28e9e97a903c01e39832e7c8281440 /services/audioflinger/AudioFlinger.cpp | |
parent | 60a839204713e0f8258d082af83262b1eb33a6c3 (diff) | |
download | frameworks_av-4bd7e5436f9c308503d72e80804fb5637fda1584.zip frameworks_av-4bd7e5436f9c308503d72e80804fb5637fda1584.tar.gz frameworks_av-4bd7e5436f9c308503d72e80804fb5637fda1584.tar.bz2 |
Static AudioTrack plays twice initially
Bug: 7528721
Change-Id: I10bc16a26f33dba6572b730a170cb3bf00e68e30
Diffstat (limited to 'services/audioflinger/AudioFlinger.cpp')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 10f4410..5bb599b 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -4710,7 +4710,7 @@ void AudioFlinger::PlaybackThread::Track::flush() if (thread != 0) { Mutex::Autolock _l(thread->mLock); if (mState != STOPPING_1 && mState != STOPPING_2 && mState != STOPPED && mState != PAUSED && - mState != PAUSING) { + mState != PAUSING && mState != IDLE && mState != FLUSHED) { return; } // No point remaining in PAUSED state after a flush => go to |