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

Commit 13e71707 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Fix compile error if FAST_THREAD_STATISTICS not defined"

parents 785b34e6 d797a9d5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3116,8 +3116,10 @@ ssize_t AudioFlinger::MixerThread::threadLoop_write()
#endif
            }
            state->mCommand = FastMixerState::MIX_WRITE;
#ifdef FAST_THREAD_STATISTICS
            mFastMixerDumpState.increaseSamplingN(mAudioFlinger->isLowRamDevice() ?
                    FastMixerDumpState::kSamplingNforLowRamDevice : FastMixerDumpState::kSamplingN);
#endif
            sq->end();
            sq->push(FastMixerStateQueue::BLOCK_UNTIL_PUSHED);
            if (kUseFastMixer == FastMixer_Dynamic) {