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

Commit 4bf946a2 authored by Andy Hung's avatar Andy Hung Committed by Gerrit Code Review
Browse files

Merge "Effects: sets mVolumeControlEffect" into main

parents 636a5b50 a950874c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2570,6 +2570,7 @@ bool EffectChain::setVolume_l(uint32_t *left, uint32_t *right, bool force)
            uint32_t rightZero = 0;
            volumeControlEffect->setVolume(&leftZero, &rightZero, true /*controller*/);
        }
        mVolumeControlEffect = volumeControlEffect;
    }
    mLeftVolume = newLeft;
    mRightVolume = newRight;
+1 −1
Original line number Diff line number Diff line
@@ -648,7 +648,7 @@ private:

             const sp<EffectCallback> mEffectCallback;

             wp<EffectModule> mVolumeControlEffect;
             wp<IAfEffectModule> mVolumeControlEffect;
};

class DeviceEffectProxy : public IAfDeviceEffectProxy, public EffectBase {