summaryrefslogtreecommitdiffstats
path: root/media/libeffects/preprocessing
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-30 07:40:52 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-08 09:21:39 -0800
commit5e92a7861196ddae14638d4b7a63fc4892b7ef59 (patch)
tree6772b944a26acb22381a2eb38871b46cff9d856a /media/libeffects/preprocessing
parent0a20fa9c41c96e31fa20e071074a4b6e7f6c41c3 (diff)
downloadframeworks_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 'media/libeffects/preprocessing')
-rwxr-xr-xmedia/libeffects/preprocessing/PreProcessing.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/libeffects/preprocessing/PreProcessing.cpp b/media/libeffects/preprocessing/PreProcessing.cpp
index 9fd6764..4d94a75 100755
--- a/media/libeffects/preprocessing/PreProcessing.cpp
+++ b/media/libeffects/preprocessing/PreProcessing.cpp
@@ -1072,7 +1072,7 @@ int PreProc_Init() {
return sInitStatus;
}
-const effect_descriptor_t *PreProc_GetDescriptor(effect_uuid_t *uuid)
+const effect_descriptor_t *PreProc_GetDescriptor(const effect_uuid_t *uuid)
{
size_t i;
for (i = 0; i < PREPROC_NUM_EFFECTS; i++) {
@@ -1568,7 +1568,7 @@ int PreProcessingLib_QueryEffect(uint32_t index, effect_descriptor_t *pDescripto
return 0;
}
-int PreProcessingLib_Create(effect_uuid_t *uuid,
+int PreProcessingLib_Create(const effect_uuid_t *uuid,
int32_t sessionId,
int32_t ioId,
effect_handle_t *pInterface)
@@ -1620,7 +1620,7 @@ int PreProcessingLib_Release(effect_handle_t interface)
return Session_ReleaseEffect(fx->session, fx);
}
-int PreProcessingLib_GetDescriptor(effect_uuid_t *uuid,
+int PreProcessingLib_GetDescriptor(const effect_uuid_t *uuid,
effect_descriptor_t *pDescriptor) {
if (pDescriptor == NULL || uuid == NULL){