Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f5b6e037 authored by synergydev's avatar synergydev Committed by Michael Bestas
Browse files

voice_processing: do not use GNU old-style field designators

Not using a GNU extension improves portability

Change-Id: I732753d2efa19efb48312664c7a2155f78ceee35
parent 37b09dbb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ cc_library_shared {
    cflags: [
        "-fvisibility=hidden",
        "-Werror",
        "-Wno-gnu-designator",
    ],

    include_dirs: [
+7 −7
Original line number Diff line number Diff line
@@ -777,11 +777,11 @@ static int lib_get_descriptor(const effect_uuid_t *uuid,
// 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 : "MSM8960 Audio Preprocessing Library",
    implementor : "The Android Open Source Project",
    create_effect : lib_create,
    release_effect : lib_release,
    get_descriptor : lib_get_descriptor
    .tag = AUDIO_EFFECT_LIBRARY_TAG,
    .version = EFFECT_LIBRARY_API_VERSION,
    .name = "MSM8960 Audio Preprocessing Library",
    .implementor = "The Android Open Source Project",
    .create_effect = lib_create,
    .release_effect = lib_release,
    .get_descriptor = lib_get_descriptor
};