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

Commit c69cab48 authored by Eric Laurent's avatar Eric Laurent Committed by android-build-merger
Browse files

Merge "audioflinger: refactor EffectModule class"

am: 186f9ccf

Change-Id: Ia37d6ef261c2d8f2c90c0268211b2b8fa419d981
parents 4d9eec5c 186f9ccf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3507,7 +3507,7 @@ sp<IEffect> AudioFlinger::createEffect(

    if (lStatus == NO_ERROR || lStatus == ALREADY_EXISTS) {
        // Check CPU and memory usage
        sp<EffectModule> effect = handle->effect().promote();
        sp<EffectBase> effect = handle->effect().promote();
        if (effect != nullptr) {
            status_t rStatus = effect->updatePolicyState();
            if (rStatus != NO_ERROR) {
+1 −0
Original line number Diff line number Diff line
@@ -533,6 +533,7 @@ private:
    class AsyncCallbackThread;
    class Track;
    class RecordTrack;
    class EffectBase;
    class EffectModule;
    class EffectHandle;
    class EffectChain;