diff options
author | Glenn Kasten <gkasten@google.com> | 2015-03-02 14:19:25 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-03-02 14:50:26 -0800 |
commit | d797a9d5daad3051f9ac1d348abc2f434ea3ddcf (patch) | |
tree | ce8626ab8016e1d162c2adcb14bbf2e3d9731267 /services/audioflinger | |
parent | 214b406c813e5baca3e4b5cdc1d986de35f09bbb (diff) | |
download | frameworks_av-d797a9d5daad3051f9ac1d348abc2f434ea3ddcf.zip frameworks_av-d797a9d5daad3051f9ac1d348abc2f434ea3ddcf.tar.gz frameworks_av-d797a9d5daad3051f9ac1d348abc2f434ea3ddcf.tar.bz2 |
Fix compile error if FAST_THREAD_STATISTICS not defined
Change-Id: I3a4ac558e61ad956a7a6e325534e722066e49b2f
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/Threads.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index 40ab0af..04e8d3f 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -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) { |