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

Commit 87de3e76 authored by Wonsik Kim's avatar Wonsik Kim Committed by android-build-merger
Browse files

Merge "codec2: initialize delays at start" into qt-dev

am: e80279e6

Change-Id: I584168f28138576b783e50aa1351e9c9b20c9888
parents e13261d3 e80279e6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -886,6 +886,8 @@ status_t CCodecBufferChannel::start(

        bool forceArrayMode = false;
        Mutexed<Input>::Locked input(mInput);
        input->inputDelay = inputDelayValue;
        input->pipelineDelay = pipelineDelayValue;
        input->numSlots = numInputSlots;
        input->extraBuffers.flush();
        input->numExtraSlots = 0u;
@@ -1052,6 +1054,7 @@ status_t CCodecBufferChannel::start(
        }

        Mutexed<Output>::Locked output(mOutput);
        output->outputDelay = outputDelayValue;
        output->numSlots = numOutputSlots;
        if (graphic) {
            if (outputSurface) {