This patch adds "echo-canceling-and-noise-reduction" to "Features"
property of the Handsfree interface.
---
src/handsfree.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/handsfree.c b/src/handsfree.c
index 8a0374d..6d7f263 100644
--- a/src/handsfree.c
+++ b/src/handsfree.c
@@ -62,6 +62,9 @@ static const char **ag_features_list(unsigned int features)
static const char *list[33];
unsigned int i = 0;
+ if (features & HFP_AG_FEATURE_ECNR)
+ list[i++] = "echo-canceling-and-noise-reduction";
+
if (features & HFP_AG_FEATURE_VOICE_RECOG)
list[i++] = "voice-recognition";
--
1.7.11.7
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono