hal: Update prefixes for audio system properties
Vendor created android system properties are required to have
vendor/qti prefix. Update vendor specific audio system
properties used in HAL.
CRs-Fixed: 2034869
Change-Id: Ibdb1d12fedee1ce12073e8b90fdec814318f3acf
diff --git a/post_proc/effect_util.c b/post_proc/effect_util.c
index 02911c1..22780f7 100644
--- a/post_proc/effect_util.c
+++ b/post_proc/effect_util.c
@@ -58,7 +58,7 @@
char path[PATH_MAX];
char value[MAX_LENGTH_OF_INTEGER_IN_STRING];
- property_get("use.dts_eagle", prop, "0");
+ property_get("vendor.audio.use.dts_eagle", prop, "0");
if (!strncmp("true", prop, sizeof("true")) || atoi(prop)) {
ALOGV("create_effect_node for - device_id: %d", device_id);
strlcpy(path, EFFECT_FILE, sizeof(path));
@@ -96,7 +96,7 @@
char resultBuf[1024];
int index1 = -1;
//ALOGV("value of device_id and effect_type is %d and %d", device_id, effect_type);
- property_get("use.dts_eagle", prop, "0");
+ property_get("vendor.audio.use.dts_eagle", prop, "0");
if (!strncmp("true", prop, sizeof("true")) || atoi(prop)) {
strlcpy(path, EFFECT_FILE, sizeof(path));
snprintf(value, sizeof(value), "%d", device_id);
@@ -193,7 +193,7 @@
char path[PATH_MAX];
char value[MAX_LENGTH_OF_INTEGER_IN_STRING];
- property_get("use.dts_eagle", prop, "0");
+ property_get("vendor.audio.use.dts_eagle", prop, "0");
if (!strncmp("true", prop, sizeof("true")) || atoi(prop)) {
ALOGV("remove_state_notifier_node: device_id - %d", device_id);
strlcpy(path, EFFECT_FILE, sizeof(path));