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

Commit 6141fe19 authored by Phil Burk's avatar Phil Burk Committed by Android (Google) Code Review
Browse files

Merge "AudioFlinger: fix Effects handling for MMapThread"

parents d48b3a7a 869fab17
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1605,7 +1605,8 @@ void AudioFlinger::EffectChain::process_l()
    // never process effects when:
    // - on an OFFLOAD thread
    // - no more tracks are on the session and the effect tail has been rendered
    bool doProcess = (thread->type() != ThreadBase::OFFLOAD);
    bool doProcess = (thread->type() != ThreadBase::OFFLOAD)
                  && (thread->type() != ThreadBase::MMAP);
    if (!isGlobalSession) {
        bool tracksOnSession = (trackCnt() != 0);