diff options
author | synergy dev <synergye@codefi.re> | 2013-12-17 17:48:51 -0800 |
---|---|---|
committer | synergy dev <synergye@codefi.re> | 2013-12-17 17:59:49 -0800 |
commit | 9803acb6b2c1b9c01444e0c8c0124adbe9a7157a (patch) | |
tree | 45a994000490f3ec7a346c673dfaf21228c8b025 /media/libeffects | |
parent | 274cc85dcb255185838705a91dba00efa52bf436 (diff) | |
download | frameworks_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')
-rw-r--r-- | media/libeffects/loudness/EffectLoudnessEnhancer.cpp | 14 | ||||
-rw-r--r-- | media/libeffects/proxy/EffectProxy.cpp | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/media/libeffects/loudness/EffectLoudnessEnhancer.cpp b/media/libeffects/loudness/EffectLoudnessEnhancer.cpp index 91ed677..3c2b320 100644 --- a/media/libeffects/loudness/EffectLoudnessEnhancer.cpp +++ b/media/libeffects/loudness/EffectLoudnessEnhancer.cpp @@ -453,13 +453,13 @@ const struct effect_interface_s gLEInterface = { // 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, - name : "Loudness Enhancer Library", - implementor : "The Android Open Source Project", - create_effect : LELib_Create, - release_effect : LELib_Release, - get_descriptor : LELib_GetDescriptor, + .tag = AUDIO_EFFECT_LIBRARY_TAG, + .version = EFFECT_LIBRARY_API_VERSION, + .name = "Loudness Enhancer Library", + .implementor = "The Android Open Source Project", + .create_effect = LELib_Create, + .release_effect = LELib_Release, + .get_descriptor = LELib_GetDescriptor, }; }; // extern "C" 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, }; |