diff options
author | Eric Laurent <elaurent@google.com> | 2014-12-10 21:55:52 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-10 21:55:52 +0000 |
commit | b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2 (patch) | |
tree | 3e53a23fbf31379eab4d76b68af9f6b20b4c7e0c /services/audioflinger | |
parent | a2bc118cfe860f9c108ba089b021d3b003185c56 (diff) | |
parent | c49d9cda49dab8b7dd0376cf56476b3e1895d5c6 (diff) | |
download | frameworks_av-b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2.zip frameworks_av-b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2.tar.gz frameworks_av-b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2.tar.bz2 |
am c49d9cda: am 2dda40d6: Merge "audio policy: add support for custom mixes" into lmp-mr1-dev
* commit 'c49d9cda49dab8b7dd0376cf56476b3e1895d5c6':
audio policy: add support for custom mixes
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/Threads.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index 3f4ff3e..a6a4137 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -2180,7 +2180,13 @@ void AudioFlinger::PlaybackThread::threadLoop_drain() void AudioFlinger::PlaybackThread::threadLoop_exit() { - // Default implementation has nothing to do + { + Mutex::Autolock _l(mLock); + for (size_t i = 0; i < mTracks.size(); i++) { + sp<Track> track = mTracks[i]; + track->invalidate(); + } + } } /* |