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

Commit 29e2b6dc authored by Andy Hung's avatar Andy Hung Committed by Android Git Automerger
Browse files

am 2e8186a2: Merge "Fix initial audio glitch on startup" into lmp-dev

* commit '2e8186a2':
  Fix initial audio glitch on startup
parents 5b309b36 2e8186a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3643,7 +3643,7 @@ track_is_ready: ;
            memset(mEffectBuffer, 0, mEffectBufferSize);
        }
        // FIXME as a performance optimization, should remember previous zero status
        memset(mSinkBuffer, 0, mNormalFrameCount * mChannelCount * sizeof(int16_t));
        memset(mSinkBuffer, 0, mNormalFrameCount * mFrameSize);
    }

    // if any fast tracks, then status is ready