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

Commit 1fc6cb5b authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am ce275b7d: am 1c594b63: Merge "audioflinger: enable effects after...

am ce275b7d: am 1c594b63: Merge "audioflinger: enable effects after registration if needed" into klp-dev

* commit 'ce275b7d':
  audioflinger: enable effects after registration if needed
parents d21952fe ce275b7d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2340,6 +2340,7 @@ status_t AudioFlinger::moveEffectChain_l(int sessionId,
                                        strategy,
                                        sessionId,
                                        effect->id());
            AudioSystem::setEffectEnabled(effect->id(), effect->isEnabled());
        }
        effect = chain->getEffectFromId_l(0);
    }
@@ -2354,6 +2355,7 @@ status_t AudioFlinger::moveEffectChain_l(int sessionId,
                                            strategy,
                                            sessionId,
                                            removed[i]->id());
                AudioSystem::setEffectEnabled(effect->id(), effect->isEnabled());
            }
        }
    }
+1 −0
Original line number Diff line number Diff line
@@ -861,6 +861,7 @@ status_t AudioFlinger::PlaybackThread::Track::attachAuxEffect(int EffectId)
                                        dstChain->strategy(),
                                        AUDIO_SESSION_OUTPUT_MIX,
                                        effect->id());
            AudioSystem::setEffectEnabled(effect->id(), effect->isEnabled());
        }
        status = playbackThread->attachAuxEffect(this, EffectId);
    }