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

Commit 6711be8a authored by Shunkai Yao's avatar Shunkai Yao Committed by Automerger Merge Worker
Browse files

EffectBundle: update lvm control parameters with AIDL parameters am: db81cd89

parents dd0d1c0d db81cd89
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -90,6 +90,12 @@ void BundleContext::deInit() {
    }
}

RetCode BundleContext::setCommon(const Parameter::Common& common) {
    RetCode ret = EffectContext::setCommon(common);
    RETURN_VALUE_IF(ret != RetCode::SUCCESS, ret, " setCommonFailed");
    return init();
}

RetCode BundleContext::enable() {
    if (mEnabled) return RetCode::ERROR_ILLEGAL_PARAMETER;
    // Bass boost or Virtualizer can be temporarily disabled if playing over device speaker due to
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ class BundleContext final : public EffectContext {
    void deInit();
    lvm::BundleEffectType getBundleType() const { return mType; }

    RetCode setCommon(const Parameter::Common& common) override;

    RetCode enable() override;
    RetCode enableOperatingMode();
    RetCode disable() override;