summaryrefslogtreecommitdiffstats
path: root/media/libeffects/downmix/EffectDownmix.c
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2012-10-25 16:05:57 -0700
committerMarco Nelissen <marcone@google.com>2012-10-25 16:05:57 -0700
commit7f16b197c76fbae9399242f055a7ee16dcd0fd6d (patch)
treec3ef4aac9bb7cedd1a694a50d4f9be0ec83cc817 /media/libeffects/downmix/EffectDownmix.c
parent6035cb5a61a7606cc8e4ecddec32b2eb37a9fd56 (diff)
downloadframeworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.zip
frameworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.tar.gz
frameworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.tar.bz2
Only export the symbols that need to be
The effects libraries were exporting many more symbols than needed. This reduces the exported symbols to just the needed ones (basically just "AELI"), which happens to also save about 28KB. Change-Id: I115077e52e8dc845282e6f62a522908d26dd72d6
Diffstat (limited to 'media/libeffects/downmix/EffectDownmix.c')
-rw-r--r--media/libeffects/downmix/EffectDownmix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libeffects/downmix/EffectDownmix.c b/media/libeffects/downmix/EffectDownmix.c
index aa2134c..f17a6e8 100644
--- a/media/libeffects/downmix/EffectDownmix.c
+++ b/media/libeffects/downmix/EffectDownmix.c
@@ -58,6 +58,8 @@ const struct effect_interface_s gDownmixInterface = {
NULL /* no process_reverse function, no reference stream needed */
};
+// This is the only symbol that needs to be exported
+__attribute__ ((visibility ("default")))
audio_effect_library_t AUDIO_EFFECT_LIBRARY_INFO_SYM = {
tag : AUDIO_EFFECT_LIBRARY_TAG,
version : EFFECT_LIBRARY_API_VERSION,