summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-03 11:32:04 -0800
committerGlenn Kasten <gkasten@google.com>2015-03-03 15:56:00 -0800
commit4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848 (patch)
tree203ce41ac6f50f6a4c90cefd3b33f6d351037163 /services
parente4a7ce250cb94a00aa2f76e5edca1c4479dc5401 (diff)
downloadframeworks_av-4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848.zip
frameworks_av-4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848.tar.gz
frameworks_av-4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848.tar.bz2
Remove redundant this->
Change-Id: Iaa11bcce94dd331425197aab49065939e226a6a2
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/FastCapture.cpp12
-rw-r--r--services/audioflinger/FastMixer.cpp12
2 files changed, 12 insertions, 12 deletions
diff --git a/services/audioflinger/FastCapture.cpp b/services/audioflinger/FastCapture.cpp
index d7c9a1f..2a10b4b 100644
--- a/services/audioflinger/FastCapture.cpp
+++ b/services/audioflinger/FastCapture.cpp
@@ -86,9 +86,9 @@ bool FastCapture::isSubClassCommand(FastThreadState::Command command)
void FastCapture::onStateChange()
{
- const FastCaptureState * const current = (const FastCaptureState *) this->mCurrent;
- const FastCaptureState * const previous = (const FastCaptureState *) this->mPrevious;
- FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) this->mDumpState;
+ const FastCaptureState * const current = (const FastCaptureState *) mCurrent;
+ const FastCaptureState * const previous = (const FastCaptureState *) mPrevious;
+ FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) mDumpState;
const size_t frameCount = current->mFrameCount;
bool eitherChanged = false;
@@ -156,9 +156,9 @@ void FastCapture::onStateChange()
void FastCapture::onWork()
{
- const FastCaptureState * const current = (const FastCaptureState *) this->mCurrent;
- FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) this->mDumpState;
- const FastCaptureState::Command command = this->mCommand;
+ const FastCaptureState * const current = (const FastCaptureState *) mCurrent;
+ FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) mDumpState;
+ const FastCaptureState::Command command = mCommand;
const size_t frameCount = current->mFrameCount;
if ((command & FastCaptureState::READ) /*&& isWarm*/) {
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp
index a28d40b..e070f90 100644
--- a/services/audioflinger/FastMixer.cpp
+++ b/services/audioflinger/FastMixer.cpp
@@ -136,9 +136,9 @@ bool FastMixer::isSubClassCommand(FastThreadState::Command command)
void FastMixer::onStateChange()
{
- const FastMixerState * const current = (const FastMixerState *) this->mCurrent;
- const FastMixerState * const previous = (const FastMixerState *) this->mPrevious;
- FastMixerDumpState * const dumpState = (FastMixerDumpState *) this->mDumpState;
+ const FastMixerState * const current = (const FastMixerState *) mCurrent;
+ const FastMixerState * const previous = (const FastMixerState *) mPrevious;
+ FastMixerDumpState * const dumpState = (FastMixerDumpState *) mDumpState;
const size_t frameCount = current->mFrameCount;
// handle state change here, but since we want to diff the state,
@@ -323,9 +323,9 @@ void FastMixer::onStateChange()
void FastMixer::onWork()
{
- const FastMixerState * const current = (const FastMixerState *) this->mCurrent;
- FastMixerDumpState * const dumpState = (FastMixerDumpState *) this->mDumpState;
- const FastMixerState::Command command = this->mCommand;
+ const FastMixerState * const current = (const FastMixerState *) mCurrent;
+ FastMixerDumpState * const dumpState = (FastMixerDumpState *) mDumpState;
+ const FastMixerState::Command command = mCommand;
const size_t frameCount = current->mFrameCount;
if ((command & FastMixerState::MIX) && (mMixer != NULL) && mIsWarm) {