hal: add support for FFV get params
-Audio HAL to support FFV get_paramters via sound trigger
callback.
-FFV needs clients to pass down the SM handle info to get a few
paramerters with respect to the given SM handle but standard
get_parameters doesn't support kvpairs for input keys, it does
support for return of kvpairs, add support for a new delimiter
which will be used while sending keys in get_parameter.
-Enable Keep alive for Red Dragon
-Adjust volume gains based on the systems team tuned values
Change-Id: I96c7214b4a084568862e3550eaabbb9d51e253d9
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 7f41763..2f0ed58 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -6893,6 +6893,8 @@
static char* adev_get_parameters(const struct audio_hw_device *dev,
const char *keys)
{
+ ALOGD("%s:%s", __func__, keys);
+
struct audio_device *adev = (struct audio_device *)dev;
struct str_parms *reply = str_parms_create();
struct str_parms *query = str_parms_create_str(keys);
@@ -6947,7 +6949,7 @@
str_parms_destroy(query);
str_parms_destroy(reply);
- ALOGV("%s: exit: returns - %s", __func__, str);
+ ALOGD("%s: exit: returns - %s", __func__, str);
return str;
}