From 275fe0df8140955fef218396e0c8c622fd1f94f9 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Tue, 23 Apr 2013 14:21:40 -0300 Subject: core: Set EchoCancelingNoiseReduction to TRUE by default According to Bluetooth HFP spec: By default, if the AG supports its own embedded echo canceling and/or noise reduction functions, it shall have them activated until the AT+NREC command is received. The configuration set by the HF shall by used by the AG while the Service Level Connection is active. Since there isn't a command to query the current value, it is being assumed that Echo Canceling and Noise Reduction is enabled when the connection is established and the gateway supports this feature. --- src/handsfree.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/handsfree.c b/src/handsfree.c index 09dd3d7c..6b15a243 100644 --- a/src/handsfree.c +++ b/src/handsfree.c @@ -358,6 +358,7 @@ struct ofono_handsfree *ofono_handsfree_create(struct ofono_modem *modem, hf->atom = __ofono_modem_add_atom(modem, OFONO_ATOM_TYPE_HANDSFREE, handsfree_remove, hf); + hf->nrec = TRUE; for (l = g_drivers; l; l = l->next) { const struct ofono_handsfree_driver *drv = l->data; -- cgit v1.2.3