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
commit655604a7c1ffadc04ec479e4f45345918f44b460 (patch)
tree35f365521cb1292429a01b80e1d61661d5341121 /media/libeffects/downmix/EffectDownmix.c
parent1bb85d27f09cb01b7e43e08600229258edf16e60 (diff)
downloadframeworks_av-655604a7c1ffadc04ec479e4f45345918f44b460.zip
frameworks_av-655604a7c1ffadc04ec479e4f45345918f44b460.tar.gz
frameworks_av-655604a7c1ffadc04ec479e4f45345918f44b460.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,