Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27697a3d authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Remove redundant this->"

parents 56d517cb 4dd03b5b
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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*/) {
+6 −6
Original line number Diff line number Diff line
@@ -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) {