summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2015-05-26 16:38:19 -0700
committerEric Laurent <elaurent@google.com>2015-05-27 17:59:12 +0000
commitad9cb8b88e4f8face23f01d8dc89fa769dacb50f (patch)
treebfa8ce6b4b9f6f00c6d2bcc639e482e80aa9cc0a /services/audioflinger/Threads.h
parent3ab77c1e93f3da5da0d18ff998f1bd6db19534f3 (diff)
downloadframeworks_av-ad9cb8b88e4f8face23f01d8dc89fa769dacb50f.zip
frameworks_av-ad9cb8b88e4f8face23f01d8dc89fa769dacb50f.tar.gz
frameworks_av-ad9cb8b88e4f8face23f01d8dc89fa769dacb50f.tar.bz2
audio flinger: add suffix to time variables names
Add suffix to clarify units for the following variables: standbyTime -> mStandbyTimeNs standbyDelay -> mStandbyDelayNs activeSleepTime -> mActiveSleepTimeUs idleSleepTime -> mIdleSleepTimeUs sleepTime -> mSleepTimeUs Change-Id: I7f5d602c39e0ef3f6fe9ef99eaf1b351c7bd4fc3
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r--services/audioflinger/Threads.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index aa20525..07c226e 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -755,14 +755,14 @@ private:
bool mInWrite;
// FIXME rename these former local variables of threadLoop to standard "m" names
- nsecs_t standbyTime;
+ nsecs_t mStandbyTimeNs;
size_t mSinkBufferSize;
// cached copies of activeSleepTimeUs() and idleSleepTimeUs() made by cacheParameters_l()
- uint32_t activeSleepTime;
- uint32_t idleSleepTime;
+ uint32_t mActiveSleepTimeUs;
+ uint32_t mIdleSleepTimeUs;
- uint32_t sleepTime;
+ uint32_t mSleepTimeUs;
// mixer status returned by prepareTracks_l()
mixer_state mMixerStatus; // current cycle
@@ -775,7 +775,7 @@ private:
uint32_t sleepTimeShift;
// same as AudioFlinger::mStandbyTimeInNsecs except for DIRECT which uses a shorter value
- nsecs_t standbyDelay;
+ nsecs_t mStandbyDelayNs;
// MIXER only
nsecs_t maxPeriod;