summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-08-19 12:03:11 -0700
committerGlenn Kasten <gkasten@google.com>2013-11-04 15:27:12 -0800
commitb2737d0b33c17e408d96d6f9eeaa3381479c94c7 (patch)
tree212bbe5b52e7c83fad26315c5451e32c0043eecb /services/audioflinger/AudioFlinger.h
parentd21952fe5bc94f7bb6ee729f806c0e641fdb1a0d (diff)
downloadframeworks_av-b2737d0b33c17e408d96d6f9eeaa3381479c94c7.zip
frameworks_av-b2737d0b33c17e408d96d6f9eeaa3381479c94c7.tar.gz
frameworks_av-b2737d0b33c17e408d96d6f9eeaa3381479c94c7.tar.bz2
Use const more places
Change-Id: Ibc068d319d6fff26f2d11248e17481d8f7f027e0
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index d244c14..9137040 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -499,7 +499,7 @@ private:
private:
const char * const mModuleName;
audio_hw_device_t * const mHwDevice;
- Flags mFlags;
+ const Flags mFlags;
};
// AudioStreamOut and AudioStreamIn are immutable, so their fields are const.
@@ -509,7 +509,7 @@ private:
struct AudioStreamOut {
AudioHwDevice* const audioHwDev;
audio_stream_out_t* const stream;
- audio_output_flags_t flags;
+ const audio_output_flags_t flags;
audio_hw_device_t* hwDev() const { return audioHwDev->hwDevice(); }