hal: add support to set custom channel configs
Add generic implementation to set custom channel configs
as per usecase config present in platform info xml.
Each usecase identified by usecase id, input channels,
output channels, snd_device and feature id can have
a separate channel config.
Change-Id: I957b5b06adbcd17f65ed49b839327bf8e9e8b318
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index 480ef13..f7a7ebf 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
* Not a contribution.
*
* Copyright (C) 2013 The Android Open Source Project
@@ -353,6 +353,27 @@
return my_data;
}
+struct audio_custom_mtmx_params *
+ platform_get_custom_mtmx_params
+ (
+ void *platform __unused,
+ struct audio_custom_mtmx_params_info *info __unused
+ )
+{
+ ALOGW("%s: not implemented!", __func__);
+ return NULL;
+}
+
+int platform_add_custom_mtmx_params
+ (
+ void *platform __unused,
+ struct audio_custom_mtmx_params_info *info __unused
+ )
+{
+ ALOGW("%s: not implemented!", __func__);
+ return -ENOSYS;
+}
+
void platform_deinit(void *platform)
{
struct platform_data *my_data = (struct platform_data *)platform;