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
This commit is contained in:
parent
939c563a0f
commit
f5a1ce676e
|
@ -1254,6 +1254,7 @@ int audio_extn_check_and_set_multichannel_usecase(struct audio_device *adev,
|
|||
{
|
||||
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);
|
||||
|
|
|
@ -324,7 +324,7 @@ void audio_extn_ffv_update_enabled()
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue