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

Commit 3d640e0a authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am 97d547da: audio flinger: fix use of global effect buffer

* commit '97d547da':
  audio flinger: fix use of global effect buffer
parents b3b4f875 97d547da
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3662,6 +3662,10 @@ track_is_ready: ;
    // remove all the tracks that need to be...
    removeTracks_l(*tracksToRemove);

    if (getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX) != 0) {
        mEffectBufferValid = true;
    }

    // sink or mix buffer must be cleared if all tracks are connected to an
    // effect chain as in this case the mixer will not write to the sink or mix buffer
    // and track effects will accumulate into it