diff options
author | Andy Hung <hunga@google.com> | 2015-06-18 13:42:02 -0700 |
---|---|---|
committer | Andy Hung <hunga@google.com> | 2015-06-18 13:43:51 -0700 |
commit | 40eb1a1f8871909c272e72afaf7d5af84fea2412 (patch) | |
tree | 93cd7cb7f509034600ea627568e2e25a159d3242 /services/audioflinger/Threads.h | |
parent | bd974011599b6d4ff47c1cee36d617f191dc0c2f (diff) | |
download | frameworks_av-40eb1a1f8871909c272e72afaf7d5af84fea2412.zip frameworks_av-40eb1a1f8871909c272e72afaf7d5af84fea2412.tar.gz frameworks_av-40eb1a1f8871909c272e72afaf7d5af84fea2412.tar.bz2 |
Reduce log messages on AudioFlinger throttle
Bug: 21858740
Change-Id: I8f291b64c1033867bb57ffceaa3b7d94aa998715
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r-- | services/audioflinger/Threads.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index 4ebe615..b12b091 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h @@ -614,6 +614,8 @@ protected: size_t mNormalFrameCount; // normal mixer and effects bool mThreadThrottle; // throttle the thread processing + uint32_t mThreadThrottleTimeMs; // throttle time for MIXER threads + uint32_t mThreadThrottleEndMs; // notify once per throttling uint32_t mHalfBufferMs; // half the buffer size in milliseconds void* mSinkBuffer; // frame size aligned sink buffer |