summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-08-07 09:44:19 -0700
committerGlenn Kasten <gkasten@google.com>2012-08-07 15:13:42 -0700
commita997e7a7c5aa2fc7e95316218316f8b7b98786ba (patch)
tree4f98e352833c4de61728588cacc08d40d1d01778 /include
parent8da4cd7d706d9f551bf2d08cd8b61907a10cd38d (diff)
downloadframeworks_av-a997e7a7c5aa2fc7e95316218316f8b7b98786ba.zip
frameworks_av-a997e7a7c5aa2fc7e95316218316f8b7b98786ba.tar.gz
frameworks_av-a997e7a7c5aa2fc7e95316218316f8b7b98786ba.tar.bz2
Revert "Swap the order of creating IAudioTrack and thread"
This reverts commit 5d464eb0b8cffb994a754ff108795e858a882414. It caused the wrong thread ID -1 to be passed to IAudioFlinger::createTrack(). Change-Id: Ic221d2bb4af572d3d2d752af19238c52f6728e3a
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioTrack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index 4488ce4..26a25b0 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -473,7 +473,7 @@ protected:
friend class AudioTrack;
virtual bool threadLoop();
AudioTrack& mReceiver;
- virtual ~AudioTrackThread();
+ ~AudioTrackThread();
Mutex mMyLock; // Thread::mLock is private
Condition mMyCond; // Thread::mThreadExitedCondition is private
bool mPaused; // whether thread is currently paused