hal: Add support for Mic break detection
Send request to driver, to enable mic break detection algorithm in ADSP
based on system feature flag during the start of a voice call.
Bug: 69979011
Test: Built and verified with calls that without changes to ACDB files,
mixer toggle is harmless. ACDB modification testing in progress.
Change-Id: Ifef68005741f3ae538a7b3c414bc8cd0f817915c
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index 309b472..d92243e 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -1621,6 +1621,11 @@
return 0;
}
+int platform_set_mic_break_det(void *platform __unused, bool enable __unused)
+{
+ return 0;
+}
+
int platform_get_sample_rate(void *platform __unused, uint32_t *rate __unused)
{
return 0;