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

Commit bbc40909 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8028469 from 6bb7dbea to sc-v2-release

Change-Id: Ib2388125d7fce81d1f735f799bffff3a72a7403f
parents 9dceaea6 6bb7dbea
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2413,6 +2413,7 @@ size_t AudioFlinger::EffectChain::removeEffect_l(const sp<EffectModule>& effect,
                if (i == size - 1 && i != 0) {
                    mEffects[i - 1]->configure();
                    mEffects[i - 1]->setOutBuffer(mOutBuffer);
                    mEffects[i - 1]->updateAccessMode();      // reconfig if neeeded.
                }
            }
            mEffects.removeAt(i);
@@ -2422,6 +2423,7 @@ size_t AudioFlinger::EffectChain::removeEffect_l(const sp<EffectModule>& effect,
            if (i == 0 && size > 1) {
                mEffects[0]->configure();
                mEffects[0]->setInBuffer(mInBuffer);
                mEffects[0]->updateAccessMode();      // reconfig if neeeded.
            }

            ALOGV("removeEffect_l() effect %p, removed from chain %p at rank %zu", effect.get(),