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

Commit ed839150 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Remove unneeded code

Change-Id: I33c7424f1858e9f3f7f7ab5fb46db09c2714e02e
parent a91b5388
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -842,12 +842,6 @@ void SoftAAC2::onPortFlushCompleted(OMX_U32 portIndex) {
        // depend on fragments from the last one decoded.
        // drain all existing data
        drainDecoder();
        // force decoder loop to drop the first decoded buffer by resetting these state variables,
        // but only if initialization has already happened.
        if (mInputBufferCount != 0) {
            mInputBufferCount = 1;
            mOutputBufferCount = -1;
        }
    } else {
        while (outputDelayRingBufferSamplesAvailable() > 0) {
            int32_t ns = outputDelayRingBufferGetSamples(0,