summaryrefslogtreecommitdiffstats
path: root/media/libeffects/proxy/EffectProxy.cpp
diff options
context:
space:
mode:
authorsynergy dev <synergye@codefi.re>2013-12-17 17:48:51 -0800
committersynergy dev <synergye@codefi.re>2013-12-17 17:59:49 -0800
commit9803acb6b2c1b9c01444e0c8c0124adbe9a7157a (patch)
tree45a994000490f3ec7a346c673dfaf21228c8b025 /media/libeffects/proxy/EffectProxy.cpp
parent274cc85dcb255185838705a91dba00efa52bf436 (diff)
downloadframeworks_av-9803acb6b2c1b9c01444e0c8c0124adbe9a7157a.zip
frameworks_av-9803acb6b2c1b9c01444e0c8c0124adbe9a7157a.tar.gz
frameworks_av-9803acb6b2c1b9c01444e0c8c0124adbe9a7157a.tar.bz2
libeffects: do not use GNU old-style field designators
Avoiding the use of GCC extensions improves code portability Change-Id: I9edbedc5c8ad4aa46ca54bc2e28280441431a530
Diffstat (limited to 'media/libeffects/proxy/EffectProxy.cpp')
-rw-r--r--media/libeffects/proxy/EffectProxy.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/media/libeffects/proxy/EffectProxy.cpp b/media/libeffects/proxy/EffectProxy.cpp
index dd4ad08..e6faaaf 100644
--- a/media/libeffects/proxy/EffectProxy.cpp
+++ b/media/libeffects/proxy/EffectProxy.cpp
@@ -329,11 +329,11 @@ int Effect_getDescriptor(effect_handle_t self,
__attribute__ ((visibility ("default")))
audio_effect_library_t AUDIO_EFFECT_LIBRARY_INFO_SYM = {
- tag : AUDIO_EFFECT_LIBRARY_TAG,
- version : EFFECT_LIBRARY_API_VERSION,
- name : "Effect Proxy",
- implementor : "AOSP",
- create_effect : android::EffectProxyCreate,
- release_effect : android::EffectProxyRelease,
- get_descriptor : android::EffectProxyGetDescriptor,
+ .tag = AUDIO_EFFECT_LIBRARY_TAG,
+ .version = EFFECT_LIBRARY_API_VERSION,
+ .name = "Effect Proxy",
+ .implementor = "AOSP",
+ .create_effect = android::EffectProxyCreate,
+ .release_effect = android::EffectProxyRelease,
+ .get_descriptor = android::EffectProxyGetDescriptor,
};