hal: Modify FFV system property name
Modify FFV system property name to match with naming convention
to use vendor prefix.
Update stream_in sample rate along with config rate for
multi-channel usecase.
Change-Id: Icac259f54e8d7cdd760e826b345a3af0d4cb754b
diff --git a/hal/audio_extn/audio_extn.c b/hal/audio_extn/audio_extn.c
index e267e39..5db3706 100755
--- a/hal/audio_extn/audio_extn.c
+++ b/hal/audio_extn/audio_extn.c
@@ -1254,6 +1254,7 @@
{
bool ssr_supported = false;
in->config.rate = config->sample_rate;
+ in->sample_rate = config->sample_rate;
ssr_supported = audio_extn_ssr_check_usecase(in);
if (ssr_supported) {
return audio_extn_ssr_set_usecase(in, config, update_params);
diff --git a/hal/audio_extn/ffv.c b/hal/audio_extn/ffv.c
index 511179a..027849c 100644
--- a/hal/audio_extn/ffv.c
+++ b/hal/audio_extn/ffv.c
@@ -324,7 +324,7 @@
{
char ffv_enabled[PROPERTY_VALUE_MAX] = "false";
- property_get("ro.qc.sdk.audio.ffv", ffv_enabled, "0");
+ property_get("ro.vendor.audio.sdk.ffv", ffv_enabled, "0");
if (!strncmp("true", ffv_enabled, 4)) {
ALOGD("%s: ffv is supported", __func__);
ffvmod.is_ffv_enabled = true;