OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae4a2c
)
Mark fields const if only set in constructor
author
Glenn Kasten
<gkasten@google.com>
Mon, 30 Jan 2012 17:26:17 +0000
(09:26 -0800)
committer
Glenn Kasten
<gkasten@google.com>
Fri, 10 Feb 2012 01:00:15 +0000
(17:00 -0800)
Change-Id: Iacd06bb9efaf708cf965033be1f2297b58f7f75c
services/audioflinger/AudioResampler.h
patch
|
blob
|
history
diff --git
a/services/audioflinger/AudioResampler.h
b/services/audioflinger/AudioResampler.h
index
ee171ff
..
c23016e
100644
(file)
--- 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 {