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

Commit d797a9d5 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix compile error if FAST_THREAD_STATISTICS not defined

Change-Id: I3a4ac558e61ad956a7a6e325534e722066e49b2f
parent 214b406c
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) {