diff options
| author | 2012-01-30 09:26:17 -0800 | |
|---|---|---|
| committer | 2012-02-09 17:00:15 -0800 | |
| commit | 8ce220e359fab68c7a14abe0eaf47fbd673c20e0 (patch) | |
| tree | 4059c711973d9d5971a27b26e3ebd69a9781f43d | |
| parent | f4aaf1f56247289838f4bb25ee704196464be4f2 (diff) | |
Mark fields const if only set in constructor
Change-Id: Iacd06bb9efaf708cf965033be1f2297b58f7f75c
| -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 ee171ff3ec3d..c23016e02ca5 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 { |