summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-10 15:28:45 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-10 15:28:45 -0800
commit31f0acff69efd46897221d847becca79ab15105f (patch)
treebf04e79a2935e9426bcd4cdf1815dbfb0c1e6397 /services
parent9f1d4448050a4df7118c90c0c0d3e6f9c4b82f3b (diff)
parent004f719467c498942c40de9f260be601ee45e630 (diff)
downloadframeworks_av-31f0acff69efd46897221d847becca79ab15105f.zip
frameworks_av-31f0acff69efd46897221d847becca79ab15105f.tar.gz
frameworks_av-31f0acff69efd46897221d847becca79ab15105f.tar.bz2
Merge "Mark fields const if only set in constructor"
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/AudioResampler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/audioflinger/AudioResampler.h b/services/audioflinger/AudioResampler.h
index ee171ff..c23016e 100644
--- a/services/audioflinger/AudioResampler.h
+++ b/services/audioflinger/AudioResampler.h
@@ -72,9 +72,9 @@ protected:
AudioResampler(const AudioResampler&);
AudioResampler& operator=(const AudioResampler&);
- int32_t mBitDepth;
- int32_t mChannelCount;
- int32_t mSampleRate;
+ const int32_t mBitDepth;
+ const int32_t mChannelCount;
+ const int32_t mSampleRate;
int32_t mInSampleRate;
AudioBufferProvider::Buffer mBuffer;
union {