diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-30 09:26:17 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-02-09 17:00:15 -0800 |
commit | 004f719467c498942c40de9f260be601ee45e630 (patch) | |
tree | 92763f0176b88c463d756e04a6109deb42ec441d /services/audioflinger/AudioResampler.h | |
parent | 7ae4a2c130ec2cb5dec69d095b810698acc543b3 (diff) | |
download | frameworks_av-004f719467c498942c40de9f260be601ee45e630.zip frameworks_av-004f719467c498942c40de9f260be601ee45e630.tar.gz frameworks_av-004f719467c498942c40de9f260be601ee45e630.tar.bz2 |
Mark fields const if only set in constructor
Change-Id: Iacd06bb9efaf708cf965033be1f2297b58f7f75c
Diffstat (limited to 'services/audioflinger/AudioResampler.h')
-rw-r--r-- | services/audioflinger/AudioResampler.h | 6 |
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 { |