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

Commit e07c1b69 authored by Fawad Shaukat's avatar Fawad Shaukat
Browse files

configs: Disable ambisonics capture by default on Kona

-Set ambisonics record properties to false by default
-Change the properties to be persist
-Modify property get to use the new property names

Change-Id: Ie9ac14555dc56bbce65017fb861fe8c3218f8526
parent 9b13af2e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -216,11 +216,11 @@ PRODUCT_PROPERTY_OVERRIDES += \

##Ambisonic Capture
PRODUCT_PROPERTY_OVERRIDES += \
vendor.audio.ambisonic.capture=true \
vendor.audio.ambisonic.auto.profile=true
persist.vendor.audio.ambisonic.capture=false \
persist.vendor.audio.ambisonic.auto.profile=false

PRODUCT_PROPERTY_OVERRIDES += \
vendor.audio.apptype.multirec.enabled=true
persist.vendor.audio.apptype.multirec.enabled=false

##fluencetype can be "fluence" or "fluencepro" or "none"
PRODUCT_PROPERTY_OVERRIDES += \
+3 −3
Original line number Diff line number Diff line
@@ -3185,11 +3185,11 @@ void *platform_init(struct audio_device *adev)
        }
    }
    /* Check for Ambisonic Capture Enablement */
    if (property_get_bool("vendor.audio.ambisonic.capture",false))
    if (property_get_bool("persist.vendor.audio.ambisonic.capture",false))
        my_data->ambisonic_capture = true;

    /* Check for Ambisonic Profile Assignment*/
    if (property_get_bool("vendor.audio.ambisonic.auto.profile",false))
    if (property_get_bool("persist.vendor.audio.ambisonic.auto.profile",false))
        my_data->ambisonic_profile = true;

    if (audio_extn_is_wsa_enabled()
@@ -3765,7 +3765,7 @@ acdb_init_fail:
        }
    }

    if (property_get_bool("vendor.audio.apptype.multirec.enabled", false))
    if (property_get_bool("persist.vendor.audio.apptype.multirec.enabled", false))
        my_data->use_generic_handset = true;

    /* Initialize keep alive for HDMI/loopback silence */