summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-06-14 12:12:52 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-06-14 12:12:52 -0700
commit4ebbabda6584aeb5ad2714e7db1702d00e84dad4 (patch)
tree275cd8ce57285b2bdcfa7e7f3668bf5d26de5718
parentc3c044ab1b2b5f9bebcff610795b6a1a9b60d01b (diff)
parent192cbbad773979a6fe3b5a0c223356de4fc3309c (diff)
downloadframeworks_av-4ebbabda6584aeb5ad2714e7db1702d00e84dad4.zip
frameworks_av-4ebbabda6584aeb5ad2714e7db1702d00e84dad4.tar.gz
frameworks_av-4ebbabda6584aeb5ad2714e7db1702d00e84dad4.tar.bz2
am 192cbbad: Fix audio track pause.
* commit '192cbbad773979a6fe3b5a0c223356de4fc3309c': Fix audio track pause.
-rw-r--r--media/libmedia/AudioTrack.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp
index 7df9b75..e5a60f5 100644
--- a/media/libmedia/AudioTrack.cpp
+++ b/media/libmedia/AudioTrack.cpp
@@ -491,6 +491,7 @@ void AudioTrack::pause()
AutoMutex lock(mLock);
if (mActive) {
mActive = false;
+ mCblk->cv.signal();
mAudioTrack->pause();
}
}