summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-11-15 13:13:41 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-11-15 13:13:41 -0800
commit731076cc7857fe322eed018569a2a67f6eac0e54 (patch)
tree1aa3b6cdcd6fde4ac68d632eb0d94b2f3e3a4307 /services/audioflinger/Threads.h
parentb4213a1252c23115f3fac77101adb33a9c6b9423 (diff)
parent06d6254823b8f7a46690369e57b5f149c94c9f65 (diff)
downloadframeworks_av-731076cc7857fe322eed018569a2a67f6eac0e54.zip
frameworks_av-731076cc7857fe322eed018569a2a67f6eac0e54.tar.gz
frameworks_av-731076cc7857fe322eed018569a2a67f6eac0e54.tar.bz2
am 06d62548: am d7e59228: audioflinger: do not use raw pointer for tracks
* commit '06d6254823b8f7a46690369e57b5f149c94c9f65': audioflinger: do not use raw pointer for tracks
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r--services/audioflinger/Threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index 43e335d..d31009e 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -764,7 +764,7 @@ private:
bool mFlushPending;
size_t mPausedWriteLength; // length in bytes of write interrupted by pause
size_t mPausedBytesRemaining; // bytes still waiting in mixbuffer after resume
- Track *mPreviousTrack; // used to detect track switch
+ wp<Track> mPreviousTrack; // used to detect track switch
};
class AsyncCallbackThread : public Thread {