summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixerDumpState.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-02 14:15:47 -0800
committerGlenn Kasten <gkasten@google.com>2015-03-02 14:17:05 -0800
commit214b406c813e5baca3e4b5cdc1d986de35f09bbb (patch)
tree9e39728f873648da62d84e101b8dfcb25c58f4f7 /services/audioflinger/FastMixerDumpState.h
parentbf31b3301676ad86151f632e9ca186fd02445d86 (diff)
downloadframeworks_av-214b406c813e5baca3e4b5cdc1d986de35f09bbb.zip
frameworks_av-214b406c813e5baca3e4b5cdc1d986de35f09bbb.tar.gz
frameworks_av-214b406c813e5baca3e4b5cdc1d986de35f09bbb.tar.bz2
Rename FAST_MIXER_STATISTICS to FAST_THREAD_STATISTICS
Change-Id: Idb5f5bf0c20bffff8536cf4a46f696e12e99e81b
Diffstat (limited to 'services/audioflinger/FastMixerDumpState.h')
-rw-r--r--services/audioflinger/FastMixerDumpState.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/FastMixerDumpState.h b/services/audioflinger/FastMixerDumpState.h
index f8354dd..bd475d6 100644
--- a/services/audioflinger/FastMixerDumpState.h
+++ b/services/audioflinger/FastMixerDumpState.h
@@ -67,7 +67,7 @@ struct FastTrackDump {
// It has a different lifetime than the FastMixer, and so it can't be a member of FastMixer.
struct FastMixerDumpState : FastThreadDumpState {
FastMixerDumpState(
-#ifdef FAST_MIXER_STATISTICS
+#ifdef FAST_THREAD_STATISTICS
uint32_t samplingN = kSamplingNforLowRamDevice
#endif
);
@@ -84,7 +84,7 @@ struct FastMixerDumpState : FastThreadDumpState {
uint32_t mTrackMask; // mask of active tracks
FastTrackDump mTracks[FastMixerState::kMaxFastTracks];
-#ifdef FAST_MIXER_STATISTICS
+#ifdef FAST_THREAD_STATISTICS
// Compile-time constant for a "low RAM device", must be a power of 2 <= kSamplingN.
// This value was chosen such that each array uses 1 small page (4 Kbytes).
static const uint32_t kSamplingNforLowRamDevice = 0x400;