From 1b355c423256676356d767e74dedbb2d2a3c3ed8 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Tue, 23 Apr 2013 14:21:38 -0300 Subject: core: Add "echo-canceling-and-noise-reduction" This patch adds "echo-canceling-and-noise-reduction" to "Features" property of the Handsfree interface. --- src/handsfree.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/handsfree.c b/src/handsfree.c index 69d8476d..4b6f7908 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"; -- cgit v1.2.3