diff options
author | Glenn Kasten <gkasten@google.com> | 2012-03-09 09:12:23 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-07-11 09:02:23 -0700 |
commit | 39c54f68804c1ce5c85ec588f3c2c63447a807b4 (patch) | |
tree | 04b272355171e4dbfbc95652c477011264ad1518 | |
parent | 4fe1ec4f40b58abff6cec147aa786cb65698161a (diff) | |
download | frameworks_av-39c54f68804c1ce5c85ec588f3c2c63447a807b4.zip frameworks_av-39c54f68804c1ce5c85ec588f3c2c63447a807b4.tar.gz frameworks_av-39c54f68804c1ce5c85ec588f3c2c63447a807b4.tar.bz2 |
Remove dead code
Change-Id: If22a6c4e572b0734eba0c5a7ce29a2c61c581e5d
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 6 | ||||
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 913cba0..765127a 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -6629,12 +6629,6 @@ AudioFlinger::RecordThread::RecordTrack* AudioFlinger::RecordThread::track() return mTrack; } -AudioFlinger::AudioStreamIn* AudioFlinger::RecordThread::getInput() const -{ - Mutex::Autolock _l(mLock); - return mInput; -} - AudioFlinger::AudioStreamIn* AudioFlinger::RecordThread::clearInput() { Mutex::Autolock _l(mLock); diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index a6d1982..f9e53e2 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -505,7 +505,6 @@ private: // and returns the normal mix buffer's frame count. No API for HAL frame count. size_t frameCount() const { return mNormalFrameCount; } - void wakeUp() { mWaitWorkCV.broadcast(); } // Should be "virtual status_t requestExitAndWait()" and override same // method in Thread, but Thread::requestExitAndWait() is not yet virtual. void exit(); @@ -1415,7 +1414,6 @@ private: int triggerSession); void stop(RecordTrack* recordTrack); status_t dump(int fd, const Vector<String16>& args); - AudioStreamIn* getInput() const; AudioStreamIn* clearInput(); virtual audio_stream_t* stream() const; @@ -1443,7 +1441,6 @@ private: private: void clearSyncStartEvent(); - RecordThread(); AudioStreamIn *mInput; RecordTrack* mTrack; sp<RecordTrack> mActiveTrack; |