diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-30 07:40:52 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-02-08 09:21:39 -0800 |
commit | 5e92a7861196ddae14638d4b7a63fc4892b7ef59 (patch) | |
tree | 6772b944a26acb22381a2eb38871b46cff9d856a /services/audioflinger | |
parent | 0a20fa9c41c96e31fa20e071074a4b6e7f6c41c3 (diff) | |
download | frameworks_av-5e92a7861196ddae14638d4b7a63fc4892b7ef59.zip frameworks_av-5e92a7861196ddae14638d4b7a63fc4892b7ef59.tar.gz frameworks_av-5e92a7861196ddae14638d4b7a63fc4892b7ef59.tar.bz2 |
Effect UUID inputs passed by pointer are const
Change-Id: I1f5c338bcb7368e3dd8cd5f804b2e6d9fbe087f8
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 2 | ||||
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 3cd094b..43b7245 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -5382,7 +5382,7 @@ status_t AudioFlinger::queryEffect(uint32_t index, effect_descriptor_t *descript return EffectQueryEffect(index, descriptor); } -status_t AudioFlinger::getEffectDescriptor(effect_uuid_t *pUuid, +status_t AudioFlinger::getEffectDescriptor(const effect_uuid_t *pUuid, effect_descriptor_t *descriptor) const { Mutex::Autolock _l(mLock); diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index f63c9ec..eca7eb8 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -151,7 +151,7 @@ public: virtual status_t queryEffect(uint32_t index, effect_descriptor_t *descriptor) const; - virtual status_t getEffectDescriptor(effect_uuid_t *pUuid, + virtual status_t getEffectDescriptor(const effect_uuid_t *pUuid, effect_descriptor_t *descriptor) const; virtual sp<IEffect> createEffect(pid_t pid, |